]> git.sur5r.net Git - minitube/blobdiff - debian/patches/disable-update-check
Imported Debian patch 1.6-1
[minitube] / debian / patches / disable-update-check
index e2eff0019236beba97dfb0984722f36fbe3a2e44..375a37d0931e0c1cfe0f49c3df0d4de5570d543c 100644 (file)
@@ -1,16 +1,16 @@
 Description: Disable update check as it's useless for a packaged version
 Author: Jakob Haufe <sur5r@sur5r.net>
 
-diff --git a/src/SearchView.cpp b/src/SearchView.cpp
-index 809537e..9ac18a8 100644
---- minitube-1.4.1.orig/src/SearchView.cpp
-+++ minitube-1.4.1/src/SearchView.cpp
-@@ -180,7 +180,7 @@ SearchView::SearchView(QWidget *parent) : QWidget(parent) {
-     updateChecker = 0;
+diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
+index 137ee6f..16a2103 100644
+--- a/src/MainWindow.cpp
++++ b/src/MainWindow.cpp
+@@ -102,7 +102,7 @@ MainWindow::MainWindow() :
  
- #ifndef APP_MAC_STORE
--    checkForUpdate();
-+    //checkForUpdate();
- #endif
+     setAcceptDrops(true);
+-    QTimer::singleShot(0, this, SLOT(checkForUpdate()));
++    //QTimer::singleShot(0, this, SLOT(checkForUpdate()));
  
  }