diff options
| author | 2011-01-10 22:17:29 +0000 | |
|---|---|---|
| committer | 2011-01-10 22:17:29 +0000 | |
| commit | 898c6644ec102ff34cc055524f1a6888ac20d0dd (patch) | |
| tree | c6e89a1647548766c171bb92748093d86c233b98 /src/kvilib/ext/KviConfigurationFile.cpp | |
| parent | updated popup date due to the recent modifications to format strings (diff) | |
| download | KVIrc-898c6644ec102ff34cc055524f1a6888ac20d0dd.tar.gz KVIrc-898c6644ec102ff34cc055524f1a6888ac20d0dd.tar.bz2 KVIrc-898c6644ec102ff34cc055524f1a6888ac20d0dd.zip | |
more work killing QString helpers
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5336 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/kvilib/ext/KviConfigurationFile.cpp')
| -rw-r--r-- | src/kvilib/ext/KviConfigurationFile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kvilib/ext/KviConfigurationFile.cpp b/src/kvilib/ext/KviConfigurationFile.cpp index 1470d0f76..394192621 100644 --- a/src/kvilib/ext/KviConfigurationFile.cpp +++ b/src/kvilib/ext/KviConfigurationFile.cpp @@ -513,7 +513,7 @@ bool KviConfigurationFile::save() { if((it.current()->count() != 0) || (m_bPreserveEmptyGroups)) { - KviCString group(m_bLocal8Bit ? KviQString::toLocal8Bit(it.currentKey()) : KviQString::toUtf8(it.currentKey())); + KviCString group(m_bLocal8Bit ? it.currentKey().toLocal8Bit() : it.currentKey().toUtf8()); group.hexEncodeWithTable(encode_table); if(!f.putChar('['))return false; @@ -526,8 +526,8 @@ bool KviConfigurationFile::save() KviCString szName,szValue; while(QString * p_str = it2.current()) { - szName = m_bLocal8Bit ? KviQString::toLocal8Bit(it2.currentKey()) : KviQString::toUtf8(it2.currentKey()); - szValue = m_bLocal8Bit ? KviQString::toLocal8Bit(*p_str) : KviQString::toUtf8(*p_str); + szName = m_bLocal8Bit ? it2.currentKey().toLocal8Bit() : it2.currentKey().toUtf8(); + szValue = m_bLocal8Bit ? (*p_str).toLocal8Bit() : (*p_str).toUtf8(); szName.hexEncodeWithTable(encode_table); szValue.hexEncodeWhiteSpace(); |
