X-Git-Url: https://git.ralfj.de/lilass.git/blobdiff_plain/49f0200c11b3f7f8e2d2f90f570ac77d9da42151..73c45eaeed3a962894c26ee021d12f9e1402a857:/gui.py?ds=inline diff --git a/gui.py b/gui.py index 84e0da3..2e5d476 100644 --- a/gui.py +++ b/gui.py @@ -25,6 +25,6 @@ def error(message): '''Displays a fatal error to the user''' QtGui.QMessageBox.critical(None, 'Fatal error', message) -def getDialogue(internalResolutions, externalResolutions): - '''Returns a class implementing a function run() which returns a ScreenSetup instance, or None if the user canceled''' - return PositionSelection(internalResolutions, externalResolutions) +def setup(internalResolutions, externalResolutions): + '''Returns a ScreenSetup instance, or None if the user canceled''' + return PositionSelection(internalResolutions, externalResolutions).run()