From 5155039293f6c275b88b5ba2c9d5ed021fe6ce55 Mon Sep 17 00:00:00 2001 From: fourtf Date: Thu, 21 Jun 2018 23:03:13 +0200 Subject: [PATCH] added #ifdef back in for windows updates --- src/singletons/updatemanager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/singletons/updatemanager.cpp b/src/singletons/updatemanager.cpp index 1ede53b73..4b22d25f4 100644 --- a/src/singletons/updatemanager.cpp +++ b/src/singletons/updatemanager.cpp @@ -42,7 +42,7 @@ void UpdateManager::installUpdates() return; } - //#ifdef Q_OS_WIN +#ifdef Q_OS_WIN QMessageBox *box = new QMessageBox(QMessageBox::Information, "Chatterino Update", "Chatterino is downloading the update " "in the background and will run the " @@ -84,12 +84,12 @@ void UpdateManager::installUpdates() }); this->setStatus_(Downloading); req.execute(); - //#endif +#endif } void UpdateManager::checkForUpdates() { - //#ifdef Q_OS_WIN +#ifdef Q_OS_WIN QString url = "https://notitia.chatterino.com/version/chatterino/" CHATTERINO_OS "/stable"; util::NetworkRequest req(url); @@ -134,7 +134,7 @@ void UpdateManager::checkForUpdates() }); this->setStatus_(Searching); req.execute(); - //#endif +#endif } UpdateManager::UpdateStatus UpdateManager::getStatus() const