summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-widgets/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index dcdbb89b4..2afc8f979 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -1168,7 +1168,7 @@ void MainWindow::initialUiSetup()
show();
}
-const char *getSetting(QSettings &s, QString name)
+const char *getSetting(const QSettings &s,const QString& name)
{
QVariant v;
v = s.value(name);