allow to define custom background images

This commit is contained in:
wmayer
2019-03-06 11:09:14 +01:00
parent 55160676d3
commit c3fb5edc41
3 changed files with 14 additions and 5 deletions

View File

@@ -162,7 +162,7 @@ void DlgGeneralImp::saveSettings()
qApp->setStyleSheet(QString());
ActionStyleEvent e(ActionStyleEvent::Restore);
qApp->sendEvent(getMainWindow(), &e);
mdi->setBackground(QPixmap(QLatin1String(":/icons/background.png")));
mdi->setBackground(QPixmap(QLatin1String("images:background.png")));
}
else {
qApp->setStyleSheet(QString());