diff options
-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 70acd0463..ba7fb4994 100644 --- a/qt-gui.cpp +++ b/qt-gui.cpp @@ -59,7 +59,7 @@ const char *getSetting(QSettings &s, QString name) return NULL; } -#ifdef Q_OS_WIN +#if defined(Q_OS_WIN) && QT_VERSION < 0x050000 static QByteArray encodeUtf8(const QString &fname) { return fname.toUtf8(); |