mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-13 08:05:55 +01:00
Fixed bug
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user