diff options
Diffstat (limited to 'dominoConfig')
-rw-r--r-- | dominoConfig/dominoconf.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dominoConfig/dominoconf.cpp b/dominoConfig/dominoconf.cpp index 6aed86b..8d249eb 100644 --- a/dominoConfig/dominoconf.cpp +++ b/dominoConfig/dominoconf.cpp @@ -3786,7 +3786,7 @@ void DominoStyleConfig::slotLoad() { SchemeEntry * entry; TQString fName; for (entry = schemeList->first(); entry; entry = schemeList->next()) { - if(!strcmp(entry->getSchemeName(), sName)) { + if (entry->getSchemeName() == sName) { fName = entry->getFileName(); break; } @@ -3839,7 +3839,7 @@ void DominoStyleConfig::slotDelete() { SchemeEntry * entry; TQString fName; for (entry = schemeList->first(); entry; entry = schemeList->next()) { - if(!strcmp(entry->getSchemeName(), sName)) { + if (entry->getSchemeName() == sName) { fName = entry->getFileName(); schemeList->remove(entry); break; @@ -3888,7 +3888,7 @@ void DominoStyleConfig::slotDelPerm(TQListViewItem* li) { TQString selected = li->text(0); for ( entry = schemeList->first(); entry; entry = schemeList->next() ) { - if(!strcmp(entry->getSchemeName(), selected)) { + if (entry->getSchemeName() == selected) { deleteButton->setEnabled(entry->isDeletable()); return; } |