Fixed bug

This commit is contained in:
Patrick Linstruth 2018-11-09 07:32:16 -08:00
parent cbe663d732
commit 1dd92d191f

View File

@ -231,7 +231,7 @@ MainWidget::MainWidget(QWidget *parent)
}
air_editor_cmd=rda->station()->editorPath();
bgmap=QPixmap(rda->airplayConf()->skinPath());
if(!bgmap.isNull()||(bgmap.width()>=1024)||(bgmap.height()>=738)) {
if(!bgmap.isNull()&&(bgmap.width()>=1024)&&(bgmap.height()>=738)) {
QPalette palette;
palette.setBrush(backgroundRole(),bgmap);
setPalette(palette);