diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2015-05-24 12:58:00 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-24 09:37:23 -0700 |
commit | 660459461cdf2f05eb2f87aef1641a6297854d6b (patch) | |
tree | d092cc322daeec9d4fb2bc396fecf16390bc7d19 /qthelper.cpp | |
parent | e9cf3d69411950249f1cf8f7e594aa863ee34583 (diff) | |
download | subsurface-660459461cdf2f05eb2f87aef1641a6297854d6b.tar.gz |
Remove support for QT4 (part 3)
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qthelper.cpp')
-rw-r--r-- | qthelper.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/qthelper.cpp b/qthelper.cpp index bbe908e6f..a05de95f1 100644 --- a/qthelper.cpp +++ b/qthelper.cpp @@ -41,18 +41,6 @@ static QString dateFormat; static QString timeFormat; static QLocale loc; -#if defined(Q_OS_WIN) && QT_VERSION < 0x050000 -static QByteArray encodeUtf8(const QString &fname) -{ - return fname.toUtf8(); -} - -static QString decodeUtf8(const QByteArray &fname) -{ - return QString::fromUtf8(fname); -} -#endif - #define translate(_context, arg) trGettext(arg) static const QString DEGREE_SIGNS("dD" UTF8_DEGREE); |