summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-23 18:36:18 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-23 18:36:18 -0700
commit641db88a2c6b50ccbb2df1546de42b779541bf0c (patch)
treeb3c50c5df167fbf4af5305cc27aa4ac76edeb48c
parent8d359f8e5795911112b730167b74e7715d360efd (diff)
downloadsubsurface-641db88a2c6b50ccbb2df1546de42b779541bf0c.tar.gz
Remove a compile warning
It's cleaner to make this a QString, anyeway. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp
index 38038bf61..caacdb1df 100644
--- a/qt-gui.cpp
+++ b/qt-gui.cpp
@@ -71,7 +71,7 @@ void init_qt_ui(int *argcp, char ***argvp, char *errormessage)
window->show();
}
-const char *getSetting(QSettings &s, char *name)
+const char *getSetting(QSettings &s, QString name)
{
QVariant v;
QString text;