diff --git a/ChangeLog b/ChangeLog index f137c044..d01c3fef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 + * 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. diff --git a/rdairplay/list_log.cpp b/rdairplay/list_log.cpp index aa3d6943..607fd7f3 100644 --- a/rdairplay/list_log.cpp +++ b/rdairplay/list_log.cpp @@ -2,7 +2,7 @@ // // The full log widget for RDAirPlay // -// (C) Copyright 2002-2021 Fred Gleason +// (C) Copyright 2002-2022 Fred Gleason // // 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 //