mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-04 14:12:37 +02:00
2019-08-26 Fred Gleason <fredg@paravelsystems.com>
* Reimplemented the '--manage-daemons' directive in rdalsaconfig(8).
This commit is contained in:
parent
7fe3952c5d
commit
9df39e2bb4
@ -18959,3 +18959,6 @@
|
|||||||
2019-08-26 Fred Gleason <fredg@paravelsystems.com>
|
2019-08-26 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Reimplemented the '--asoundrc-file=' directive in
|
* Reimplemented the '--asoundrc-file=' directive in
|
||||||
rdalsaconfig(8).
|
rdalsaconfig(8).
|
||||||
|
2019-08-26 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Reimplemented the '--manage-daemons' directive in
|
||||||
|
rdalsaconfig(8).
|
||||||
|
@ -179,28 +179,10 @@ QSizePolicy MainWidget::sizePolicy() const
|
|||||||
|
|
||||||
void MainWidget::saveData()
|
void MainWidget::saveData()
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
AlsaItem *item=NULL;
|
|
||||||
|
|
||||||
for(int i=0;i<RD_MAX_CARDS;i++) {
|
|
||||||
if((item=(AlsaItem *)alsa_config_list->item(i))==NULL) {
|
|
||||||
alsa_alsa->setRivendellCard(i,-1);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
alsa_alsa->setRivendellCard(i,item->cardNumber());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if(!alsa_alsa->save(alsa_filename)) {
|
|
||||||
QMessageBox::warning(this,tr("RDAlsaConfig error"),
|
|
||||||
tr(QString("Unable to save configuration to \"")+
|
|
||||||
alsa_filename+"\""));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
StartDaemons();
|
|
||||||
*/
|
|
||||||
|
|
||||||
SaveConfig(alsa_filename);
|
SaveConfig(alsa_filename);
|
||||||
|
|
||||||
|
StartDaemons();
|
||||||
|
|
||||||
qApp->quit();
|
qApp->quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user