r24035 by jghali - Code style fixes

scribus-commit scribus-commit at lists.scribus.net
Fri Sep 25 14:43:09 UTC 2020


Author: jghali
Date: Fri Sep 25 14:43:08 2020
New Revision: 24035

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

Modified:
    trunk/Scribus/scribus/scpaths.cpp

Modified: trunk/Scribus/scribus/scpaths.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24035&path=/trunk/Scribus/scribus/scpaths.cpp
==============================================================================
--- trunk/Scribus/scribus/scpaths.cpp	(original)
+++ trunk/Scribus/scribus/scpaths.cpp	Fri Sep 25 14:43:08 2020
@@ -574,7 +574,7 @@
 	QDir useFilesDirectory(applicationDataDir() + "plugins/");
 	if (createIfNotExists && !useFilesDirectory.exists())
 		useFilesDirectory.mkpath(useFilesDirectory.absolutePath());
-	return useFilesDirectory.absolutePath()+"/";
+	return useFilesDirectory.absolutePath() + "/";
 }
 
 QString ScPaths::userDictDir(ScPaths::DictType dictType, bool createIfNotExists)
@@ -587,7 +587,7 @@
 	QDir useFilesDirectory(applicationDataDir() + "dicts/" + dictSuffix);
 	if (createIfNotExists && !useFilesDirectory.exists())
 		useFilesDirectory.mkpath(useFilesDirectory.absolutePath());
-	return useFilesDirectory.absolutePath()+"/";
+	return useFilesDirectory.absolutePath() + "/";
 }
 
 QString ScPaths::userFontDir(bool createIfNotExists)
@@ -595,7 +595,7 @@
 	QDir useFilesDirectory(applicationDataDir() + "fonts/");
 	if (createIfNotExists && !useFilesDirectory.exists())
 		useFilesDirectory.mkpath(useFilesDirectory.absolutePath());
-	return useFilesDirectory.absolutePath()+"/";
+	return useFilesDirectory.absolutePath() + "/";
 }
 
 QString ScPaths::userHelpFilesDir(bool createIfNotExists)
@@ -603,7 +603,7 @@
 	QDir useFilesDirectory(applicationDataDir() + "helpfiles/");
 	if (createIfNotExists && !useFilesDirectory.exists())
 		useFilesDirectory.mkpath(useFilesDirectory.absolutePath());
-	return useFilesDirectory.absolutePath()+"/";
+	return useFilesDirectory.absolutePath() + "/";
 }
 
 QString ScPaths::userPaletteFilesDir(bool createIfNotExists)
@@ -614,7 +614,7 @@
 		useFilesDirectory.mkpath(useFilesDirectory.absolutePath());
 		useFilesDirectory.mkpath(useFilesDirectory.absolutePath() + "/locked");
 	}
-	return useFilesDirectory.absolutePath()+"/";
+	return useFilesDirectory.absolutePath() + "/";
 }
 
 QString ScPaths::userTemplateDir(bool createIfNotExists)
@@ -624,7 +624,7 @@
 	QDir useFilesDirectory(PrefsManager::instance().appPrefs.pathPrefs.documentTemplates);
 	if (createIfNotExists && !useFilesDirectory.exists())
 		useFilesDirectory.mkpath(useFilesDirectory.absolutePath());
-	return useFilesDirectory.absolutePath()+"/";
+	return useFilesDirectory.absolutePath() + "/";
 }
 
 QString ScPaths::userDocumentDir()
@@ -644,7 +644,7 @@
 		useFilesDirectory.mkpath(useFilesDirectory.absolutePath() + "/main");
 		useFilesDirectory.mkpath(useFilesDirectory.absolutePath() + "/tmp");
 	}
-	return useFilesDirectory.absolutePath()+"/";
+	return useFilesDirectory.absolutePath() + "/";
 }
 
 QString ScPaths::tempFileDir()
@@ -668,7 +668,7 @@
 	QDir tempAppDirectory(applicationDataDir() + "temp/");
 	if (!tempAppDirectory.exists())
 		tempAppDirectory.mkpath(tempAppDirectory.absolutePath());
-	return tempAppDirectory.absolutePath()+"/";
+	return tempAppDirectory.absolutePath() + "/";
 }
 
 QString ScPaths::downloadDir()
@@ -676,7 +676,7 @@
 	QDir downloadDirectory(applicationDataDir() + "downloads/");
 	if (!downloadDirectory.exists())
 		downloadDirectory.mkpath(downloadDirectory.absolutePath());
-	return downloadDirectory.absolutePath()+"/";
+	return downloadDirectory.absolutePath() + "/";
 }
 
 QString ScPaths::windowsSpecialDir(int folder)




More information about the scribus-commit mailing list