summaryrefslogtreecommitdiffstats
path: root/dominoConfig
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-07-07 17:44:15 +0200
committerSlávek Banko <[email protected]>2020-07-07 17:48:54 +0200
commitbb945af0aca2de81585218d5f0453e15282e1c09 (patch)
treecd238aa9175d83f71e59d54805b2ee19d47b6aa1 /dominoConfig
parentfabe2f724432dc6e7f00878df2ec965cd0ab03a6 (diff)
downloadtde-style-domino-bb945af0aca2de81585218d5f0453e15282e1c09.tar.gz
tde-style-domino-bb945af0aca2de81585218d5f0453e15282e1c09.zip
Removed unnecessary automatic conversions to char*.
The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'dominoConfig')
-rw-r--r--dominoConfig/dominoconf.cpp6
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;
}