r17945 by jghali - Remove more use of ScMessageBox class

scribus-commit scribus-commit at lists.scribus.net
Sun Dec 9 23:06:31 UTC 2012


Author: jghali
Date: Sun Dec  9 23:06:30 2012
New Revision: 17945

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17945
Log:
Remove more use of ScMessageBox class

Modified:
    trunk/Scribus/scribus/prefsmanager.cpp

Modified: trunk/Scribus/scribus/prefsmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17945&path=/trunk/Scribus/scribus/prefsmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/prefsmanager.cpp (original)
+++ trunk/Scribus/scribus/prefsmanager.cpp Sun Dec  9 23:06:30 2012
@@ -24,11 +24,12 @@
 #include <QDir>
 #include <QDomDocument>
 #include <QFile>
-#include <QTransform>
 #include <QList>
+#include <QMessageBox>
 #include <QString>
 #include <QStringList>
 #include <QStyleFactory>
+#include <QTransform>
 
 #include "prefsmanager.h"
 
@@ -825,7 +826,7 @@
 			bool splashShown=ScCore->splashShowing();
 			if (splashShown)
 				ScCore->showSplash(false);
-			if ( (ScMessageBox::question( ScCore->primaryMainWindow(), tr("Migrate Old Scribus Settings?"),
+			if ( (QMessageBox::question( ScCore->primaryMainWindow(), tr("Migrate Old Scribus Settings?"),
 				tr("Scribus has detected existing Scribus 1.3.5 preferences files.\n"
 						"Do you want to migrate them to the new Scribus version?"),
 				QMessageBox::Yes | QMessageBox::Default, QMessageBox::No, QMessageBox::NoButton))==QMessageBox::Yes )




More information about the scribus-commit mailing list