summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-12-05 20:13:50 (GMT)
committerMontel Laurent <montel@kde.org>2016-12-05 20:13:50 (GMT)
commit07702138346a0f3ad65091e91d0573d1d738a3a1 (patch)
tree19701b4460cfc0d72b500028130bcf7714863960
parent989dacdf466e494951057868477d9b1a605fdda9 (diff)
Add const'
-rw-r--r--src/project/dialogs/projectsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/project/dialogs/projectsettings.cpp b/src/project/dialogs/projectsettings.cpp
index d35189f..2b7f3a6 100644
--- a/src/project/dialogs/projectsettings.cpp
+++ b/src/project/dialogs/projectsettings.cpp
@@ -580,7 +580,7 @@ QStringList ProjectSettings::extractSlideshowUrls(const QUrl &url)
void ProjectSettings::slotExportToText()
{
- QString savePath = QFileDialog::getSaveFileName(this, QString(), project_folder->url().path(), QStringLiteral("text/plain"));
+ const QString savePath = QFileDialog::getSaveFileName(this, QString(), project_folder->url().path(), QStringLiteral("text/plain"));
if (savePath.isEmpty()) return;
QString data;
data.append(i18n("Project folder: %1", project_folder->url().path()) + '\n');