r22160 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Thu Sep 21 17:01:43 UTC 2017


Author: jghali
Date: Thu Sep 21 17:01:43 2017
New Revision: 22160

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22160
Log:
#14996: build with -DAPPLICATION_DATA_DIR fails

Modified:
    trunk/Scribus/scribus/scpaths.cpp

Modified: trunk/Scribus/scribus/scpaths.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22160&path=/trunk/Scribus/scribus/scpaths.cpp
==============================================================================
--- trunk/Scribus/scribus/scpaths.cpp	(original)
+++ trunk/Scribus/scribus/scpaths.cpp	Thu Sep 21 17:01:43 2017
@@ -520,7 +520,7 @@
 {
 	QString dataDir;
 #ifdef APPLICATION_DATA_DIR
-	prefsDir =  QDir::homePath() + "/" + APPLICATION_DATA_DIR + "/";
+	dataDir =  QDir::homePath() + "/" + APPLICATION_DATA_DIR + "/";
 #else
 	dataDir =  QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/";
 #endif




More information about the scribus-commit mailing list