summaryrefslogtreecommitdiffstats
path: root/gui/dialogs
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-02-02 02:14:14 +0100
committerPetr Mrázek <peterix@gmail.com>2015-04-12 20:57:17 +0200
commitcd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5 (patch)
treed8dd6499e29fbf5196b0d5a20f0a0da386b575bb /gui/dialogs
parent28a39ef7ac3e3dfe4ea65d02af01d1a18e3d4af6 (diff)
downloadMultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.tar
MultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.tar.gz
MultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.tar.lz
MultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.tar.xz
MultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.zip
SCRATCH nuke the overcomplicated logger, use a simple one.
Diffstat (limited to 'gui/dialogs')
-rw-r--r--gui/dialogs/AccountSelectDialog.cpp4
-rw-r--r--gui/dialogs/UpdateDialog.cpp12
-rw-r--r--gui/dialogs/VersionSelectDialog.cpp2
3 files changed, 9 insertions, 9 deletions
diff --git a/gui/dialogs/AccountSelectDialog.cpp b/gui/dialogs/AccountSelectDialog.cpp
index 4d10112e..6ae60738 100644
--- a/gui/dialogs/AccountSelectDialog.cpp
+++ b/gui/dialogs/AccountSelectDialog.cpp
@@ -18,7 +18,7 @@
#include <QItemSelectionModel>
-#include <logger/QsLog.h>
+#include <QDebug>
#include <gui/dialogs/ProgressDialog.h>
@@ -40,7 +40,7 @@ AccountSelectDialog::AccountSelectDialog(const QString &message, int flags, QWid
// Flags...
ui->globalDefaultCheck->setVisible(flags & GlobalDefaultCheckbox);
ui->instDefaultCheck->setVisible(flags & InstanceDefaultCheckbox);
- QLOG_DEBUG() << flags;
+ qDebug() << flags;
// Select the first entry in the list.
ui->listView->setCurrentIndex(ui->listView->model()->index(0, 0));
diff --git a/gui/dialogs/UpdateDialog.cpp b/gui/dialogs/UpdateDialog.cpp
index 29d09ead..1fcc156a 100644
--- a/gui/dialogs/UpdateDialog.cpp
+++ b/gui/dialogs/UpdateDialog.cpp
@@ -1,7 +1,7 @@
#include "UpdateDialog.h"
#include "ui_UpdateDialog.h"
#include "gui/Platform.h"
-#include "logger/QsLog.h"
+#include <QDebug>
#include "MultiMC.h"
#include <logic/settings/SettingsObject.h>
@@ -82,7 +82,7 @@ QString reprocessMarkdown(QString markdown)
html << "<ul>\n";
html << "<li>" << procLine(line.mid(2)) << "</li>\n";
}
- else QLOG_ERROR() << "Invalid input on line " << i << ": " << line;
+ else qCritical() << "Invalid input on line " << i << ": " << line;
break;
case LIST1:
if(line.startsWith("##"))
@@ -107,7 +107,7 @@ QString reprocessMarkdown(QString markdown)
html << "<ul>\n";
html << "<li>" << procLine(line.mid(4)) << "</li>\n";
}
- else QLOG_ERROR() << "Invalid input on line " << i << ": " << line;
+ else qCritical() << "Invalid input on line " << i << ": " << line;
break;
case LIST2:
if(line.startsWith("##"))
@@ -134,7 +134,7 @@ QString reprocessMarkdown(QString markdown)
{
html << "<li>" << procLine(line.mid(4)) << "</li>\n";
}
- else QLOG_ERROR() << "Invalid input on line " << i << ": " << line;
+ else qCritical() << "Invalid input on line " << i << ": " << line;
break;
}
i++;
@@ -151,10 +151,10 @@ QString reprocessMarkdown(QString markdown)
}
if (state != BASE)
{
- QLOG_ERROR() << "Reprocessing markdown didn't end in a final state!";
+ qCritical() << "Reprocessing markdown didn't end in a final state!";
}
html << "</html>\n";
- QLOG_DEBUG() << htmlData;
+ qDebug() << htmlData;
return htmlData;
}
diff --git a/gui/dialogs/VersionSelectDialog.cpp b/gui/dialogs/VersionSelectDialog.cpp
index e9758d55..a0a58699 100644
--- a/gui/dialogs/VersionSelectDialog.cpp
+++ b/gui/dialogs/VersionSelectDialog.cpp
@@ -25,7 +25,7 @@
#include <logic/BaseVersionList.h>
#include <logic/tasks/Task.h>
#include <depends/util/include/modutils.h>
-#include "logger/QsLog.h"
+#include <QDebug>
class VersionSelectProxyModel : public QSortFilterProxyModel
{