Commit 07702138 authored by Laurent Montel's avatar Laurent Montel
Browse files

Add const'

parent 989dacdf
......@@ -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');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment