diff options
| author | 2016-04-07 13:00:54 +0200 | |
|---|---|---|
| committer | 2016-04-07 13:00:54 +0200 | |
| commit | 22ca84d4d22ed7e39c626981e5ae85e9287c3edb (patch) | |
| tree | 5bf35583a38fadbcef5ddd37705618b1e79f67af /src/kvilib/core/KviQString.cpp | |
| parent | Fix #1921 (diff) | |
| download | KVIrc-22ca84d4d22ed7e39c626981e5ae85e9287c3edb.tar.gz KVIrc-22ca84d4d22ed7e39c626981e5ae85e9287c3edb.tar.bz2 KVIrc-22ca84d4d22ed7e39c626981e5ae85e9287c3edb.zip | |
Remove all ifdefs related to older versions of Qt.
Now that we only support Qt 5 we will no longer need these.
Diffstat (limited to 'src/kvilib/core/KviQString.cpp')
| -rw-r--r-- | src/kvilib/core/KviQString.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/kvilib/core/KviQString.cpp b/src/kvilib/core/KviQString.cpp index f14d3aee5..ec162474b 100644 --- a/src/kvilib/core/KviQString.cpp +++ b/src/kvilib/core/KviQString.cpp @@ -38,10 +38,6 @@ #include <stdio.h> // for sprintf() #include <QRegExp> -#if (QT_VERSION < 0x050000) -#include <QTextDocument> // for Qt::escape() -#endif - // kvi_string.cpp extern unsigned char iso88591_toLower_map[256]; extern unsigned char iso88591_toUpper_map[256]; @@ -1306,10 +1302,6 @@ namespace KviQString QString toHtmlEscaped(QString szData) { -#if (QT_VERSION >= 0x050000) return szData.toHtmlEscaped(); -#else - return Qt::escape(szData); -#endif } } |
