summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-10-09 19:36:03 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-30 10:36:52 -0700
commit9d1117cd6c513b6b64f45520a60051a1717ca50b (patch)
treea7027d1ef9e5d5faad44b0f3db730e6b05492604 /desktop-widgets
parente62d439bda65801ae6f3d2e73bec1a706a46ca90 (diff)
downloadsubsurface-9d1117cd6c513b6b64f45520a60051a1717ca50b.tar.gz
Constify, Referencify
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-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);