r23218 by jghali - Code style fixes

scribus-commit scribus-commit at lists.scribus.net
Fri Sep 27 06:50:43 UTC 2019


Author: jghali
Date: Fri Sep 27 06:50:42 2019
New Revision: 23218

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23218
Log:
Code style fixes

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23218&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Fri Sep 27 06:50:42 2019
@@ -3492,9 +3492,9 @@
 			QString infoMsg = "<qt>" + tr("The file may be damaged or may have been produced in a later version of Scribus.") + "</qt>";
 			ScMessageBox msgBox(QMessageBox::Critical, title, msg, QMessageBox::Ok | QMessageBox::Help, this);
 			msgBox.setInformativeText(infoMsg);
-			int i=msgBox.exec();
-			if (i==QMessageBox::Help)
-					slotOnlineHelp("", "fileproblems.html");
+			int i = msgBox.exec();
+			if (i == QMessageBox::Help)
+				slotOnlineHelp("", "fileproblems.html");
 			return false;
 		}
 		bool is12doc=false;
@@ -5262,10 +5262,10 @@
 {
 	if (!resourceManager) // in case its allocated???? maybe can remove in future
 	{
-		resourceManager=new ResourceManager(this);
+		resourceManager = new ResourceManager(this);
 		resourceManager->exec();
 		resourceManager->deleteLater();
-		resourceManager=nullptr;
+		resourceManager = nullptr;
 	}
 }
 




More information about the scribus-commit mailing list