2019-10-09 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdairplay(1) that caused space bar presses to
	start the next event in the Main Log even when 'Space Bar Action'
	was set to 'None'.
This commit is contained in:
Fred Gleason 2019-10-09 14:14:06 -04:00
parent a46698f9d5
commit f5d70ee6d5
3 changed files with 9 additions and 5 deletions

View File

@ -19202,3 +19202,7 @@
2019-10-08 Fred Gleason <fredg@paravelsystems.com>
* Documented the font management system in 'docs/apis/fonts.xml'
(built as 'docs/apis/fonts.pdf'.
2019-10-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdairplay(1) that caused space bar presses to
start the next event in the Main Log even when 'Space Bar Action'
was set to 'None'.

View File

@ -1811,11 +1811,6 @@ void MainWidget::refreshStatusChangedData(bool active)
else {
air_refresh_label->setText("");
}
//
// FIXME: Disabled in 2.10.3caefix05 due to segfault problems.
// Do we really need this?
//
// qApp->processEvents();
}
@ -1831,6 +1826,9 @@ void MainWidget::keyPressEvent(QKeyEvent *e)
{
switch(e->key()) {
case Qt::Key_Space:
if(rda->airplayConf()->barAction()&&(air_log[0]->nextLine()>=0)) {
air_log[0]->play(air_log[0]->nextLine(),RDLogLine::StartManual);
}
break;
case Qt::Key_X:

View File

@ -30,6 +30,8 @@ StartButton::StartButton(bool allow_pause,QWidget *parent)
start_time=QTime();
start_allow_pause=allow_pause;
setFocusPolicy(Qt::NoFocus);
//
// Create Font
//