| 321 | } |
| 322 | |
| 323 | void BackgroundWidget::fileNameChanged() { |
| 324 | const QString& fileName = ui.leFileName->text(); |
| 325 | bool invalid = (!fileName.isEmpty() && !QFile::exists(fileName)); |
| 326 | GuiTools::highlight(ui.leFileName, invalid); |
| 327 | |
| 328 | CONDITIONAL_LOCK_RETURN; |
| 329 | |
| 330 | for (auto* background : m_backgrounds) |
| 331 | background->setFileName(fileName); |
| 332 | } |
| 333 | |
| 334 | //************************************************************* |
| 335 | //********* SLOTs for changes triggered in Background ********* |
nothing calls this directly
no test coverage detected