]> git.sur5r.net Git - minitube/commitdiff
Rework patch: disable-update-check
authorJakob Haufe <sur5r@debian.org>
Tue, 29 Sep 2020 17:08:42 +0000 (19:08 +0200)
committerJakob Haufe <sur5r@debian.org>
Tue, 29 Sep 2020 17:08:42 +0000 (19:08 +0200)
debian/patches/disable-update-check

index fe4b5677c12b94eabcea8f60c9868e87a2f0a207..ab15fde1304889885b39bc4b2f042bde0f86d2cf 100644 (file)
@@ -1,16 +1,16 @@
 Description: Disable update check as it's useless for a packaged version
 Author: Jakob Haufe <sur5r@sur5r.net>
 
-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)