|
|
@ -3786,7 +3786,7 @@ void DominoStyleConfig::slotLoad() {
|
|
|
|
SchemeEntry * entry;
|
|
|
|
SchemeEntry * entry;
|
|
|
|
TQString fName;
|
|
|
|
TQString fName;
|
|
|
|
for (entry = schemeList->first(); entry; entry = schemeList->next()) {
|
|
|
|
for (entry = schemeList->first(); entry; entry = schemeList->next()) {
|
|
|
|
if(!strcmp(entry->getSchemeName(), sName)) {
|
|
|
|
if (entry->getSchemeName() == sName) {
|
|
|
|
fName = entry->getFileName();
|
|
|
|
fName = entry->getFileName();
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -3839,7 +3839,7 @@ void DominoStyleConfig::slotDelete() {
|
|
|
|
SchemeEntry * entry;
|
|
|
|
SchemeEntry * entry;
|
|
|
|
TQString fName;
|
|
|
|
TQString fName;
|
|
|
|
for (entry = schemeList->first(); entry; entry = schemeList->next()) {
|
|
|
|
for (entry = schemeList->first(); entry; entry = schemeList->next()) {
|
|
|
|
if(!strcmp(entry->getSchemeName(), sName)) {
|
|
|
|
if (entry->getSchemeName() == sName) {
|
|
|
|
fName = entry->getFileName();
|
|
|
|
fName = entry->getFileName();
|
|
|
|
schemeList->remove(entry);
|
|
|
|
schemeList->remove(entry);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
@ -3888,7 +3888,7 @@ void DominoStyleConfig::slotDelPerm(TQListViewItem* li) {
|
|
|
|
TQString selected = li->text(0);
|
|
|
|
TQString selected = li->text(0);
|
|
|
|
|
|
|
|
|
|
|
|
for ( entry = schemeList->first(); entry; entry = schemeList->next() ) {
|
|
|
|
for ( entry = schemeList->first(); entry; entry = schemeList->next() ) {
|
|
|
|
if(!strcmp(entry->getSchemeName(), selected)) {
|
|
|
|
if (entry->getSchemeName() == selected) {
|
|
|
|
deleteButton->setEnabled(entry->isDeletable());
|
|
|
|
deleteButton->setEnabled(entry->isDeletable());
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|