From: Jakob Haufe Date: Tue, 29 Sep 2020 17:08:42 +0000 (+0200) Subject: Rework patch: disable-update-check X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=400ca515d433cde152c6de723ece90c0887ba341;p=minitube Rework patch: disable-update-check --- diff --git a/debian/patches/disable-update-check b/debian/patches/disable-update-check index fe4b567..ab15fde 100644 --- a/debian/patches/disable-update-check +++ b/debian/patches/disable-update-check @@ -1,16 +1,16 @@ Description: Disable update check as it's useless for a packaged version Author: Jakob Haufe -Index: minitube/src/mainwindow.cpp -=================================================================== ---- minitube.orig/src/mainwindow.cpp -+++ minitube/src/mainwindow.cpp -@@ -218,7 +218,7 @@ void MainWindow::lazyInit() { - - ChannelAggregator::instance()->start(); - -- checkForUpdate(); -+ //checkForUpdate(); - - initialized = true; +diff --git a/minitube.pro b/minitube.pro +index e75a41d..441cc28 100644 +--- a/minitube.pro ++++ b/minitube.pro +@@ -281,6 +281,8 @@ mac|win32|contains(DEFINES, APP_UBUNTU):include(local/local.pri) + include(lib/updater/updater.pri) } + ++DEFINES -= UPDATER ++ + message(CONFIG: $$CONFIG) + message(DEFINES: $$DEFINES) + message(QMAKE_CXXFLAGS: $$QMAKE_CXXFLAGS)