mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Removed Qt's "Check for updates"
It only worked on 32bit Windows, and it's gone now.
This commit is contained in:
parent
903d2f9183
commit
ac3a9e3ba8
@ -9,7 +9,7 @@
|
||||
import sys
|
||||
import os.path as op
|
||||
|
||||
from PyQt5.QtCore import QTimer, QObject, QCoreApplication, QUrl, QProcess, pyqtSignal
|
||||
from PyQt5.QtCore import QTimer, QObject, QCoreApplication, QUrl, pyqtSignal
|
||||
from PyQt5.QtGui import QDesktopServices
|
||||
from PyQt5.QtWidgets import QApplication, QFileDialog, QDialog, QMessageBox
|
||||
|
||||
@ -85,13 +85,9 @@ class DupeGuru(QObject):
|
||||
('actionIgnoreList', '', '', tr("Ignore List"), self.ignoreListTriggered),
|
||||
('actionShowHelp', 'F1', '', tr("dupeGuru Help"), self.showHelpTriggered),
|
||||
('actionAbout', '', '', tr("About dupeGuru"), self.showAboutBoxTriggered),
|
||||
('actionCheckForUpdate', '', '', tr("Check for Update"), self.checkForUpdateTriggered),
|
||||
('actionOpenDebugLog', '', '', tr("Open Debug Log"), self.openDebugLogTriggered),
|
||||
]
|
||||
createActions(ACTIONS, self)
|
||||
|
||||
if ISLINUX:
|
||||
self.actionCheckForUpdate.setVisible(False) # This only works on Windows
|
||||
|
||||
def _update_options(self):
|
||||
self.model.scanner.mix_file_kind = self.prefs.mix_file_kind
|
||||
@ -140,9 +136,6 @@ class DupeGuru(QObject):
|
||||
self.prefs.save()
|
||||
self.model.save()
|
||||
|
||||
def checkForUpdateTriggered(self):
|
||||
QProcess.execute('updater.exe', ['/checknow'])
|
||||
|
||||
def ignoreListTriggered(self):
|
||||
self.model.ignore_list_dialog.show()
|
||||
|
||||
|
@ -82,7 +82,6 @@ class DirectoriesDialog(QMainWindow):
|
||||
self.menuView.addAction(self.actionShowResultsWindow)
|
||||
self.menuView.addAction(self.app.actionIgnoreList)
|
||||
self.menuHelp.addAction(self.app.actionShowHelp)
|
||||
self.menuHelp.addAction(self.app.actionCheckForUpdate)
|
||||
self.menuHelp.addAction(self.app.actionOpenDebugLog)
|
||||
self.menuHelp.addAction(self.app.actionAbout)
|
||||
|
||||
|
@ -112,7 +112,6 @@ class ResultWindow(QMainWindow):
|
||||
self.menuView.addAction(self.app.actionIgnoreList)
|
||||
self.menuView.addAction(self.app.actionPreferences)
|
||||
self.menuHelp.addAction(self.app.actionShowHelp)
|
||||
self.menuHelp.addAction(self.app.actionCheckForUpdate)
|
||||
self.menuHelp.addAction(self.app.actionOpenDebugLog)
|
||||
self.menuHelp.addAction(self.app.actionAbout)
|
||||
self.menuFile.addAction(self.actionSaveResults)
|
||||
|
Loading…
x
Reference in New Issue
Block a user