diff options
author | André Glüpker <git@wgmd.de> | 2016-06-06 13:07:38 +0200 |
---|---|---|
committer | André Glüpker <git@wgmd.de> | 2016-06-06 13:07:38 +0200 |
commit | d09a7fa0ccb9afd314c17c708481752e91b825e5 (patch) | |
tree | 0e244f6e0d668f4869df7a1b78700d00110f89e8 /9kwpyqt.py | |
parent | d90be97c3744c90263eeebfba0ed8572125fd89e (diff) | |
download | 9kwpyqt-d09a7fa0ccb9afd314c17c708481752e91b825e5.tar.gz 9kwpyqt-d09a7fa0ccb9afd314c17c708481752e91b825e5.tar.bz2 9kwpyqt-d09a7fa0ccb9afd314c17c708481752e91b825e5.zip |
Set window flag dialog
My reason: i3wm will show this floating by default,
which seems reasonable for this kind of
application.
Diffstat (limited to '9kwpyqt.py')
-rwxr-xr-x | 9kwpyqt.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -116,6 +116,7 @@ class CaptchaGUI(QWidget): mainLayout.addLayout(self.LayoutSubmit) self.setLayout(mainLayout) self.setWindowTitle("Captcha 9kw PyQt") + self.setWindowFlags(Qt.Dialog) if not self.readConfig(): self.captchaImage.setText("Config file not found. New file created.\nPlease edit the configuration file to enter your api key.\nYou need to restart this programm afterwards.") |