diff options
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r-- | qt-gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp index 2b9f97d82..2d5e409b3 100644 --- a/qt-gui.cpp +++ b/qt-gui.cpp @@ -76,7 +76,7 @@ const char *getSetting(QSettings &s, QString name) QVariant v; v = s.value(name); if (v.isValid()) { - return strdup(v.toString().toUtf8().constData()); + return strdup(v.toString().toUtf8().data()); } return NULL; } |