common: Make SyncableObject non-copyable
[quassel.git] / src / qtui / debuglogdlg.cpp
index 996f1ac..176a968 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2019 by the Quassel Project                        *
+ *   Copyright (C) 2005-2020 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -41,7 +41,7 @@ DebugLogDlg::DebugLogDlg(QWidget* parent)
 
 QString DebugLogDlg::toString(const Logger::LogEntry& msg)
 {
-    return msg.timeStamp.toString("yyyy-MM-dd hh:mm:ss ") + msg.message + "\n";
+    return msg.toString() + "\n";
 }
 
 void DebugLogDlg::logUpdated(const Logger::LogEntry& msg)