Constify, Referencify

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-10-09 19:36:03 -03:00 committed by Dirk Hohndel
parent e62d439bda
commit 9d1117cd6c

View file

@ -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);