Beispiel #1
0
 def showSettings(self, dummyDeferredResult, 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
     # in the SVG renderer rendering the wind tiles for the tile
     # preview
     self.confDialog = ConfigDialog(self, "settings")
     self.confDialog.show()
Beispiel #2
0
 def showSettings(self, dummyDeferredResult, 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
     # in the SVG renderer rendering the wind tiles for the tile
     # preview
     self.confDialog = ConfigDialog(self, "settings")
     self.confDialog.show()