From 0682214ba73136a333b82f01c41e343554287b29 Mon Sep 17 00:00:00 2001 From: fourtf Date: Tue, 7 Aug 2018 08:12:44 +0200 Subject: [PATCH] fixed settings background color --- src/RunGui.cpp | 2 ++ src/widgets/dialogs/LogsPopup.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/RunGui.cpp b/src/RunGui.cpp index 6f0d86622..d6c4b0306 100644 --- a/src/RunGui.cpp +++ b/src/RunGui.cpp @@ -103,6 +103,8 @@ void removeRunningFile(const QString &path) void runGui(QApplication &a, Paths &paths, Settings &settings) { + initQt(); + chatterino::NetworkManager::init(); chatterino::Updates::getInstance().checkForUpdates(); diff --git a/src/widgets/dialogs/LogsPopup.cpp b/src/widgets/dialogs/LogsPopup.cpp index 833bbbba0..b524c3462 100644 --- a/src/widgets/dialogs/LogsPopup.cpp +++ b/src/widgets/dialogs/LogsPopup.cpp @@ -149,7 +149,7 @@ void LogsPopup::getOverrustleLogs() req.setCaller(QThread::currentThread()); req.onError([this, channelName](int errorCode) { this->close(); - QMessageBox *box = new QMessageBox( + auto box = new QMessageBox( QMessageBox::Information, "Error getting logs", "No logs could be found for channel " + channelName); box->setAttribute(Qt::WA_DeleteOnClose);