| 1376 | } |
| 1377 | |
| 1378 | void SettingsWindow::settingsProfileChanged_UpdateUI(const QString &profileName) |
| 1379 | { |
| 1380 | DEBUG_LOW_LEVEL << Q_FUNC_INFO; |
| 1381 | |
| 1382 | setWindowTitle(tr("Prismatik: %1").arg(profileName)); |
| 1383 | |
| 1384 | if (m_backlightStatus == Backlight::StatusOn && m_trayIcon!=NULL) |
| 1385 | m_trayIcon->updateProfiles(); |
| 1386 | |
| 1387 | if(ui->comboBox_Profiles->count() > 1){ |
| 1388 | ui->pushButton_DeleteProfile->setEnabled(true); |
| 1389 | }else{ |
| 1390 | ui->pushButton_DeleteProfile->setEnabled(false); |
| 1391 | } |
| 1392 | } |
| 1393 | |
| 1394 | // ---------------------------------------------------------------------------- |
| 1395 |
nothing calls this directly
no test coverage detected