28 lines
1.4 KiB
Text
28 lines
1.4 KiB
Text
From 95a73bbc9bd65602a0f9411469ab511bc80a01d0 Mon Sep 17 00:00:00 2001
|
|
From: Till Kamppeter <till.kamppeter@gmail.com>
|
|
Date: Wed, 3 Oct 2018 15:13:00 +0200
|
|
Subject: Call QMessageBox constructors of PyQT5 with the correct parameters
|
|
Bug-Debian: https://bugs.debian.org/912768
|
|
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1745383
|
|
|
|
Index: ui/settingsdialog.py
|
|
--- ui/settingsdialog.py.orig
|
|
+++ ui/settingsdialog.py
|
|
@@ -146,7 +146,7 @@ class SettingsDialog(SettingsDialog_base):
|
|
## QMessageBox.warning(self,
|
|
## self.caption(),
|
|
## self.__tr("<b>One or more email addresses are missing.</b><p>Please enter this information and try again."),
|
|
-## QMessageBox.Ok,
|
|
+## QMessageBox.Ok |\
|
|
## QMessageBox.NoButton,
|
|
## QMessageBox.NoButton)
|
|
## return
|
|
@@ -163,7 +163,7 @@ class SettingsDialog(SettingsDialog_base):
|
|
## QMessageBox.information(self,
|
|
## self.caption(),
|
|
## self.__tr("<p><b>Please check your email for a test message.</b><p>If the message doesn't arrive, please check your settings and try again."),
|
|
-## QMessageBox.Ok,
|
|
+## QMessageBox.Ok |\
|
|
## QMessageBox.NoButton,
|
|
## QMessageBox.NoButton)
|
|
|