mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 08:01:13 +02:00
2023-04-29 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDWidget::setBackgroundPixmap()' method. * Fixed a bug in the voice tracker in rdairplay(1) that caused the the track waveform areas to be painted solid black. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -171,12 +171,7 @@ MainWidget::MainWidget(RDConfig *config,QWidget *parent)
|
||||
for(int i=0;i<RDAIRPLAY_LOG_QUANTITY;i++) {
|
||||
air_op_mode[i]=RDAirPlayConf::Previous;
|
||||
}
|
||||
bgmap=QPixmap(rda->airplayConf()->skinPath());
|
||||
if(!bgmap.isNull()&&(bgmap.width()>=1024)&&(bgmap.height()>=738)) {
|
||||
QPalette palette;
|
||||
palette.setBrush(backgroundRole(),bgmap);
|
||||
setPalette(palette);
|
||||
}
|
||||
setBackgroundPixmap(QPixmap(rda->airplayConf()->skinPath()));
|
||||
|
||||
//
|
||||
// Top Strip
|
||||
@@ -1800,7 +1795,7 @@ void MainWidget::resizeEvent(QResizeEvent *e)
|
||||
{
|
||||
int w=width();
|
||||
int h=height();
|
||||
|
||||
|
||||
//
|
||||
// Top Row
|
||||
//
|
||||
@@ -1832,7 +1827,6 @@ void MainWidget::resizeEvent(QResizeEvent *e)
|
||||
air_log_list[i]->setGeometry(550,140,w-560,h-215);
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Bottom Button Row
|
||||
//
|
||||
|
Reference in New Issue
Block a user