|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|