]> git.sur5r.net Git - minitube/blobdiff - debian/patches/disable-update-check
Refresh patches
[minitube] / debian / patches / disable-update-check
index e2eff0019236beba97dfb0984722f36fbe3a2e44..f828c45db89de6de60a748cdf0fca01a20d97b32 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 bb815c0..4304fa3 100644
+--- a/src/mainwindow.cpp
++++ b/src/mainwindow.cpp
+@@ -146,7 +146,7 @@ MainWindow::MainWindow() :
+     mouseTimer->setSingleShot(true);
+     connect(mouseTimer, SIGNAL(timeout()), SLOT(hideMouse()));
  
- #ifndef APP_MAC_STORE
--    checkForUpdate();
-+    //checkForUpdate();
- #endif
+-    QTimer::singleShot(0, this, SLOT(checkForUpdate()));
++    //QTimer::singleShot(0, this, SLOT(checkForUpdate()));
  
  }