diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-06 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-06 19:48:06 +0000 |
commit | 0761ef3c62e43ffed5a81854b7b45e579016f5b7 (patch) | |
tree | 5aa48590c295ad6d29aafe4782d7f762f2ee38d3 /kdecore/kconfigbase.cpp | |
parent | cb4a5d685bd5a3129e1edb8bac1ee6c41939fe7b (diff) | |
download | tdelibs-0761ef3c62e43ffed5a81854b7b45e579016f5b7.tar.gz tdelibs-0761ef3c62e43ffed5a81854b7b45e579016f5b7.zip |
Locked down more ambiguous datatypes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1160010 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kconfigbase.cpp')
-rw-r--r-- | kdecore/kconfigbase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kdecore/kconfigbase.cpp b/kdecore/kconfigbase.cpp index 3c80e5710..771e9b643 100644 --- a/kdecore/kconfigbase.cpp +++ b/kdecore/kconfigbase.cpp @@ -927,7 +927,7 @@ TQColor KConfigBase::readColorEntry( const char *pKey, TQString aValue = readEntry( pKey ); if( !aValue.isEmpty() ) { - if ( aValue.at(0) == '#' ) + if ( aValue.at(0) == (QChar)'#' ) { aRetColor.setNamedColor(aValue); } @@ -1358,7 +1358,7 @@ void KConfigBase::writeEntry ( const char *pKey, const TQStrList &list, } str_list += sep; } - if( str_list.at(str_list.length() - 1) == sep ) + if( str_list.at(str_list.length() - 1) == (QChar)sep ) str_list.truncate( str_list.length() -1 ); writeEntry( pKey, str_list, bPersistent, bGlobal, bNLS ); } @@ -1402,7 +1402,7 @@ void KConfigBase::writeEntry ( const char *pKey, const TQStringList &list, } str_list += sep; } - if( str_list.at(str_list.length() - 1) == sep ) + if( str_list.at(str_list.length() - 1) == (QChar)sep ) str_list.truncate( str_list.length() -1 ); writeEntry( pKey, str_list, bPersistent, bGlobal, bNLS, bExpand ); } |