summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-24 09:54:07 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-25 06:41:38 (GMT)
commitf6fe1f0ddfefdf9065b9622c6c4828745260c3a9 (patch)
tree1f68413aabeeb3c79a8d37fcdf3c8f19ecc847c2
parent70c9f30a607a26a36a5d3b6f326740a5f21f013c (diff)
MainWindows.showSettings now works with both current KDE and Qt
-rw-r--r--src/mainwindow.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainwindow.py b/src/mainwindow.py
index e6c458e..6f3e51d 100644
--- a/src/mainwindow.py
+++ b/src/mainwindow.py
@@ -600,8 +600,10 @@ class MainWindow(KXmlGuiWindow):
self.adjustView()
@afterQueuedAnimations
- def showSettings(self, deferredResult):
+ def showSettings(self, deferredResult, dummyChecked=None):
"""show preferences dialog. If it already is visible, do nothing"""
+ # This is called by the triggered() signal. So why does KDE
+ # not return the bool checked?
if ConfigDialog.showDialog("settings"):
return
# if an animation is running, Qt segfaults somewhere deep