2022-05-02 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdairplay(1) that caused the buttons in the List Log
	widget to be positioned atop the log listing when the window width
	was greater than 850 and the 'Extra Buttons/Counters' and 'Hour
	Indicator' features were turned off.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2022-05-02 11:33:38 -04:00
parent 29a5a26a81
commit 8924459307
2 changed files with 11 additions and 6 deletions

View File

@ -23025,3 +23025,8 @@
* Fixed a regression in rdlibrary(1) that threw a segfault when
opening the 'Edit Audio' dialog when attempting to view multiple
cuts within the same cart.
2022-05-02 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdairplay(1) that caused the buttons in the List Log
widget to be positioned atop the log listing when the window width
was greater than 850 and the 'Extra Buttons/Counters' and 'Hour
Indicator' features were turned off.

View File

@ -2,7 +2,7 @@
//
// The full log widget for RDAirPlay
//
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -887,10 +887,7 @@ void ListLog::resizeEvent(QResizeEvent *e)
// Log Items
//
int list_y=2;
int list_h=size().height()-63;
if(rda->airplayConf()->showCounters()) {
list_h-=60;
}
int list_h=size().height()-123;
if(size().width()>=850) {
//
@ -902,7 +899,6 @@ void ListLog::resizeEvent(QResizeEvent *e)
//
// Counters
//
// list_groupbox->setGeometry(5+695,size().height()-61,153,58);
list_groupbox->setGeometry(700,size().height()-64,153,62);
list_stoptime_edit->setGeometry(778,size().height()-43,70,18);
list_stoptime_label->setGeometry(708,size().height()-43,65,18);
@ -923,6 +919,10 @@ void ListLog::resizeEvent(QResizeEvent *e)
list_h+=60;
}
else {
if(!rda->airplayConf()->showCounters()) {
list_h+=60;
}
//
// Audition Head/Tail Buttons
//