diff options
author | Michele Calgaro <[email protected]> | 2023-08-24 21:28:39 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-31 10:03:10 +0900 |
commit | 030a2248f3630fd0404df98beffc78b5b5ca4c31 (patch) | |
tree | 75d55e7e177ca48e69d59f74181ce37841ecd51b /src/kvilib/ext/kvi_config.cpp | |
parent | 17118265cf93b35b0b68e450ea5f43046c1d81c3 (diff) | |
download | kvirc-030a2248f3630fd0404df98beffc78b5b5ca4c31.tar.gz kvirc-030a2248f3630fd0404df98beffc78b5b5ca4c31.zip |
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kvilib/ext/kvi_config.cpp')
-rw-r--r-- | src/kvilib/ext/kvi_config.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/kvilib/ext/kvi_config.cpp b/src/kvilib/ext/kvi_config.cpp index bd6f8a7a..dab135cc 100644 --- a/src/kvilib/ext/kvi_config.cpp +++ b/src/kvilib/ext/kvi_config.cpp @@ -627,11 +627,7 @@ TQStringList KviConfig::readStringListEntry(const TQString & szKey,const TQStrin KviConfigGroup * p_group = getCurrentGroup(); TQString * p_str = p_group->find(szKey); if(!p_str)return list; -#ifdef COMPILE_USE_QT4 - return p_str->split(g_szConfigStringListSeparator); -#else return TQStringList::split(g_szConfigStringListSeparator,*p_str); -#endif } void KviConfig::writeEntry(const TQString & szKey,const TQStringList &list) @@ -653,11 +649,7 @@ KviValueList<int> KviConfig::readIntListEntry(const TQString & szKey,const KviVa //tqDebug("Returning default list for group %s and key %s",m_szGroup.latin1(),szKey.latin1()); return list; } -#ifdef COMPILE_USE_QT4 - TQStringList sl = p_str->split(","); -#else TQStringList sl = TQStringList::split(",",*p_str); -#endif KviValueList<int> ret; //tqDebug("Got option list for group %s and key %s: %s",m_szGroup.latin1(),szKey.latin1(),p_str->latin1()); |