mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-14 08:39:31 +02:00
Fixed bug
This commit is contained in:
parent
cbe663d732
commit
1dd92d191f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user