mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 15:16:07 +01:00
2018-10-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdairplay(1) that caused to the 'Enter Password' dialog to be dispplayed when exiting even if no exit password had been set. * Fixed a regression in rdairplay(1) that caused the application to be closed even if an incorrect response was entered in the 'Enter Password' dialog.
This commit is contained in:
@@ -2130,6 +2130,7 @@ void MainWidget::closeEvent(QCloseEvent *e)
|
||||
RDGetPasswd *gw=new RDGetPasswd(&passwd,this);
|
||||
gw->exec();
|
||||
if(!rda->airplayConf()->exitPasswordValid(passwd)) {
|
||||
e->ignore();
|
||||
return;
|
||||
}
|
||||
rda->airplayConf()->setExitCode(RDAirPlayConf::ExitClean);
|
||||
|
||||
Reference in New Issue
Block a user