Ensure customBackdropFile is not empty
This commit is contained in:
committed by
Craig Drummond
parent
8a0f6e4438
commit
a7d1cb2399
@@ -422,7 +422,7 @@ void ContextWidget::readConfig()
|
||||
break;
|
||||
case PlayQueueView::BI_Custom:
|
||||
if (origType!=backdropType || backdropOpacity!=origOpacity || backdropBlur!=origBlur || origCustomBackdropFile!=customBackdropFile) {
|
||||
updateImage(QImage(customBackdropFile));
|
||||
updateImage(customBackdropFile.isEmpty() ? QImage() : QImage(customBackdropFile));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user