~raoul-snyman/openlp/debian-package

« back to all changes in this revision

Viewing changes to debian/patches/disable-version-check.patch

Tags: 2.0.1-1
Update the source package to OpenLP 2.0.1, with 2 patches to remove the version check.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Remove the check for update feature from OpenLP.
 
2
Author: Raoul Snyman <raoulsnyman@openlp.org>
 
3
Forwarded: not-needed
 
4
--- old/openlp/core/__init__.py        2012-12-30 19:41:24 +0000
 
5
+++ new/openlp/core/__init__.py        2013-02-21 11:38:27 +0000
 
6
@@ -159,10 +159,10 @@
 
7
         self.processEvents()
 
8
         if not has_run_wizard:
 
9
             self.mainWindow.firstTime()
 
10
-        update_check = Settings().value(
 
11
-            u'general/update check', QtCore.QVariant(True)).toBool()
 
12
-        if update_check:
 
13
-            VersionThread(self.mainWindow).start()
 
14
+        #update_check = Settings().value(
 
15
+        #    u'general/update check', QtCore.QVariant(True)).toBool()
 
16
+        #if update_check:
 
17
+        #    VersionThread(self.mainWindow).start()
 
18
         Receiver.send_message(u'live_display_blank_check')
 
19
         self.mainWindow.appStartup()
 
20
         # Skip exec_() for gui tests
 
21