| 474 | | if (cmbSkin->currentText() != Config::Skin::active()->skinName()) |
| 475 | | Config::Skin::active()->loadSkin(cmbSkin->currentText().toLocal8Bit()); |
| 476 | | |
| 477 | | if (cmbIcon->currentText() != iconManager->iconSet()) |
| 478 | | if (!iconManager->loadIcons(cmbIcon->currentText())) |
| 479 | | WarnUser(this, tr("Unable to load icons \n%1.").arg(cmbIcon->currentText().toLocal8Bit().data())); |
| 480 | | |
| 481 | | if (cmbExtIcon->currentText() != iconManager->extendedIconSet()) |
| 482 | | if (!iconManager->loadExtendedIcons(cmbExtIcon->currentText())) |
| 483 | | WarnUser(this, tr("Unable to load extended icons \n%1.").arg(cmbExtIcon->currentText().toLocal8Bit().data())); |
| 484 | | |
| 485 | | if (cmbEmoticon->currentText() != Emoticons::self()->theme()) |
| 486 | | Emoticons::self()->setTheme(cmbEmoticon->currentText()); |
| | 473 | Config::Skin::active()->loadSkin(cmbSkin->currentText().toLocal8Bit()); |
| | 474 | |
| | 475 | if (!iconManager->loadIcons(cmbIcon->currentText())) |
| | 476 | WarnUser(this, tr("Unable to load icons\n%1.") |
| | 477 | .arg(cmbIcon->currentText().toLocal8Bit().data())); |
| | 478 | |
| | 479 | if (!iconManager->loadExtendedIcons(cmbExtIcon->currentText())) |
| | 480 | WarnUser(this, tr("Unable to load extended icons\n%1.") |
| | 481 | .arg(cmbExtIcon->currentText().toLocal8Bit().data())); |
| | 482 | |
| | 483 | Emoticons::self()->setTheme(cmbEmoticon->currentText()); |