From d09a7fa0ccb9afd314c17c708481752e91b825e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Gl=C3=BCpker?= Date: Mon, 6 Jun 2016 13:07:38 +0200 Subject: Set window flag dialog My reason: i3wm will show this floating by default, which seems reasonable for this kind of application. --- 9kwpyqt.py | 1 + 1 file changed, 1 insertion(+) (limited to '9kwpyqt.py') 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.") -- cgit v1.2.3