summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Glüpker <git@wgmd.de>2016-06-06 13:07:38 +0200
committerAndré Glüpker <git@wgmd.de>2016-06-06 13:07:38 +0200
commitd09a7fa0ccb9afd314c17c708481752e91b825e5 (patch)
tree0e244f6e0d668f4869df7a1b78700d00110f89e8
parentd90be97c3744c90263eeebfba0ed8572125fd89e (diff)
download9kwpyqt-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.
-rwxr-xr-x9kwpyqt.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/9kwpyqt.py b/9kwpyqt.py
index 680ceee..f6ec392 100755
--- a/9kwpyqt.py
+++ b/9kwpyqt.py
@@ -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.")