Commit f6fe1f0d authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

MainWindows.showSettings now works with both current KDE and Qt

parent 70c9f30a
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment