r21524 by craig - Append / to new home location code
scribus-commit
scribus-commit at lists.scribus.net
Sun Nov 20 12:57:42 UTC 2016
Author: craig
Date: Sun Nov 20 12:57:42 2016
New Revision: 21524
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21524
Log:
Append / to new home location code
Modified:
trunk/Scribus/scribus/scpaths.cpp
Modified: trunk/Scribus/scribus/scpaths.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21524&path=/trunk/Scribus/scribus/scpaths.cpp
==============================================================================
--- trunk/Scribus/scribus/scpaths.cpp (original)
+++ trunk/Scribus/scribus/scpaths.cpp Sun Nov 20 12:57:42 2016
@@ -576,8 +576,8 @@
{
QString userDocs = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation);
if (QDir(userDocs).exists())
- return userDocs;
- return QStandardPaths::writableLocation(QStandardPaths::HomeLocation);
+ return userDocs + "/";
+ return QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + "/";
}
QString ScPaths::getTempFileDir(void)
More information about the scribus-commit
mailing list