summaryrefslogtreecommitdiffstats
path: root/kalarm/preferences.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/preferences.cpp')
-rw-r--r--kalarm/preferences.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalarm/preferences.cpp b/kalarm/preferences.cpp
index be1e5e6a..95b1b5a6 100644
--- a/kalarm/preferences.cpp
+++ b/kalarm/preferences.cpp
@@ -607,8 +607,8 @@ void Preferences::convertOldPrefs()
static const TQString EMAIL_USE_CTRL_CENTRE = TQString::tqfromLatin1("EmailUseControlCenter");
static const TQString EMAIL_BCC_USE_CTRL_CENTRE = TQString::tqfromLatin1("EmailBccUseControlCenter");
TQMap<TQString, TQString> entries = config->entryMap(GENERAL_SECTION);
- if (entries.tqfind(EMAIL_FROM) == entries.end()
- && entries.tqfind(EMAIL_USE_CTRL_CENTRE) != entries.end())
+ if (entries.find(EMAIL_FROM) == entries.end()
+ && entries.find(EMAIL_USE_CTRL_CENTRE) != entries.end())
{
// Preferences were written by KAlarm pre-1.2.1
config->setGroup(GENERAL_SECTION);