From a31733d06504320aab95ab183a2e17f37c1b74fd Mon Sep 17 00:00:00 2001 From: Maran Date: Thu, 30 Aug 2012 19:57:32 +0200 Subject: [PATCH] Reworked the qt warning dialog --- electrum | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/electrum b/electrum index 00126cea4..1fc039b1f 100755 --- a/electrum +++ b/electrum @@ -162,15 +162,10 @@ if __name__ == '__main__': qtVersion = qVersion() if not(int(qtVersion[0]) >= 4 and int(qtVersion[2]) >= 7): app = QApplication(sys.argv) - - error_message = QErrorMessage() - error_message.setFixedSize(350,200) - error_message.showMessage("

Sorry, the Electrum 'Lite GUI' requires Qt >= 4.7 to run. The pro GUI will be started instead.

Check your distributions packages for upgrades.

") + QMessageBox.warning(None,"Could not start Lite GUI.", "Electrum was unable to load the 'Lite GUI' because it needs Qt version >= 4.7.\nElectrum is now setup to load the Pro GUI.") simple_config.set_key("gui", "qt") - app.exec_() - try: import lib.gui_qt as gui except ImportError: