diff --git a/src/RunGui.cpp b/src/RunGui.cpp index 6f0d8662..d6c4b030 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 833bbbba..b524c346 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);