Paste P396

(An Untitled Masterwork)
ActivePublic

Authored by davidre on May 31 2019, 10:45 AM.
diff --git a/src/SpectacleConfig.cpp b/src/SpectacleConfig.cpp
index f8f276f..d630af8 100644
--- a/src/SpectacleConfig.cpp
+++ b/src/SpectacleConfig.cpp
@@ -308,7 +308,7 @@ void SpectacleConfig::setAutoSaveFilenameFormat(const QString &format)
QString SpectacleConfig::defaultSaveLocation() const
{
return mGeneralConfig.readPathEntry(QStringLiteral("default-save-location"),
- QStandardPaths::writableLocation(QStandardPaths::PicturesLocation));
+ QStringLiteral("file://")+QStandardPaths::writableLocation(QStandardPaths::PicturesLocation) + QStringLiteral("/"));
}
void SpectacleConfig::setDefaultSaveLocation(const QString &location)
davidre created this paste.May 31 2019, 10:45 AM
davidre created this object in space S1 KDE Community.