mirror of
https://abf.rosa.ru/djam/calibre.git
synced 2025-02-24 16:12:47 +00:00
22 lines
906 B
Diff
22 lines
906 B
Diff
![]() |
--- calibre/src/calibre/gui2/update.py~ 2011-03-25 19:30:09.000000000 -0600
|
||
|
+++ calibre/src/calibre/gui2/update.py 2011-03-28 13:19:55.986558857 -0600
|
||
|
@@ -86,12 +86,12 @@
|
||
|
|
||
|
class UpdateMixin(object):
|
||
|
|
||
|
- def __init__(self, opts):
|
||
|
- if not opts.no_update_check:
|
||
|
- self.update_checker = CheckForUpdates(self)
|
||
|
- self.update_checker.update_found.connect(self.update_found,
|
||
|
- type=Qt.QueuedConnection)
|
||
|
- self.update_checker.start()
|
||
|
+ #def __init__(self, opts):
|
||
|
+ #if not opts.no_update_check:
|
||
|
+ # self.update_checker = CheckForUpdates(self)
|
||
|
+ # self.update_checker.update_found.connect(self.update_found,
|
||
|
+ # type=Qt.QueuedConnection)
|
||
|
+ # self.update_checker.start()
|
||
|
|
||
|
def update_found(self, version, force=False):
|
||
|
os = 'windows' if iswindows else 'osx' if isosx else 'linux'
|