r24371 by jghali - Code style fixes

scribus-commit scribus-commit at lists.scribus.net
Mon Jan 4 17:02:32 UTC 2021


Author: jghali
Date: Mon Jan  4 17:02:32 2021
New Revision: 24371

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24371
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=24371&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Mon Jan  4 17:02:32 2021
@@ -3351,20 +3351,20 @@
 			is12doc=true;
 		}
 		QDir docProfileDir(fi.absolutePath() + "/profiles");
-		ScCore->getCMSProfilesDir(fi.absolutePath()+"/", false, false);
+		ScCore->getCMSProfilesDir(fi.absolutePath() + "/", false, false);
 		if (docProfileDir.exists())
-			ScCore->getCMSProfilesDir(fi.absolutePath()+"/profiles", false, false);
-
-		m_prefsManager.appPrefs.fontPrefs.AvailFonts.addScalableFonts(fi.absolutePath()+"/", filename);
+			ScCore->getCMSProfilesDir(fi.absolutePath() + "/profiles", false, false);
+
+		m_prefsManager.appPrefs.fontPrefs.AvailFonts.addScalableFonts(fi.absolutePath() + "/", filename);
 		QDir docFontDir(fi.absolutePath() + "/fonts");
 		if (docFontDir.exists())
-			m_prefsManager.appPrefs.fontPrefs.AvailFonts.addScalableFonts(fi.absolutePath()+"/fonts", filename);
+			m_prefsManager.appPrefs.fontPrefs.AvailFonts.addScalableFonts(fi.absolutePath() + "/fonts", filename);
 		QDir docFontDir2(fi.absolutePath() + "/Fonts");
 		if (docFontDir2.exists())
-			m_prefsManager.appPrefs.fontPrefs.AvailFonts.addScalableFonts(fi.absolutePath()+"/Fonts", filename);
+			m_prefsManager.appPrefs.fontPrefs.AvailFonts.addScalableFonts(fi.absolutePath() + "/Fonts", filename);
 		QDir docFontDir3(fi.absolutePath() + "/Document fonts");
 		if (docFontDir3.exists())
-			m_prefsManager.appPrefs.fontPrefs.AvailFonts.addScalableFonts(fi.absolutePath()+"/Document fonts", filename);
+			m_prefsManager.appPrefs.fontPrefs.AvailFonts.addScalableFonts(fi.absolutePath() + "/Document fonts", filename);
 		m_prefsManager.appPrefs.fontPrefs.AvailFonts.updateFontMap();
 		if (view != nullptr)
 			actionManager->disconnectNewViewActions();




More information about the scribus-commit mailing list