diff options
Diffstat (limited to 'src/kvilib/ext/kvi_miscutils.cpp')
-rw-r--r-- | src/kvilib/ext/kvi_miscutils.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/kvilib/ext/kvi_miscutils.cpp b/src/kvilib/ext/kvi_miscutils.cpp index 7b3c4caa..111fa300 100644 --- a/src/kvilib/ext/kvi_miscutils.cpp +++ b/src/kvilib/ext/kvi_miscutils.cpp @@ -31,13 +31,8 @@ namespace KviMiscUtils { int compareVersions(const TQString &szVersion1,const TQString &szVersion2) { -#ifdef COMPILE_USE_QT4 - TQStringList sl1 = szVersion1.split("."); - TQStringList sl2 = szVersion2.split("."); -#else TQStringList sl1 = TQStringList::split(".",szVersion1); TQStringList sl2 = TQStringList::split(".",szVersion2); -#endif TQStringList::Iterator it1 = sl1.begin(); TQStringList::Iterator it2 = sl2.begin(); @@ -66,11 +61,7 @@ namespace KviMiscUtils bool isValidVersionString(const TQString &szVersion) { -#ifdef COMPILE_USE_QT4 - TQStringList sl = szVersion.split("."); -#else TQStringList sl = TQStringList::split(".",szVersion); -#endif if(sl.isEmpty())return false; // must all be numbers for(TQStringList::Iterator it = sl.begin();it != sl.end();++it) |