only show update notif if compiled to

This commit is contained in:
itsmattkc
2019-03-13 09:44:39 +11:00
parent 3213749adf
commit 36f3d0ac92
+1 -1
View File
@@ -14,7 +14,7 @@ UpdateNotification::UpdateNotification()
void UpdateNotification::check()
{
#if defined(GITHASH) && (defined(_WIN32) || defined(__APPLE__))
#if defined(GITHASH) && defined(UPDATEMSG)
QNetworkAccessManager* manager = new QNetworkAccessManager();
connect(manager, SIGNAL(finished(QNetworkReply *)), this, SLOT(finished_slot(QNetworkReply *)));