mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-05 16:20:14 +01:00
2023-06-29 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDCoreApplication::isUniqueProcess()' static method. * Added processuniqueness checks to caed(8), rdairplay(1), rdrepld(8), rdrssd(8), rdservice(8), rdvairplayd(8), ripcd(8) and rdalsaconfig(8). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -84,7 +84,7 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
|
||||
//
|
||||
rda=new RDApplication("RDAlsaConfig","rdalsaconfig",RDALSACONFIG_USAGE,false,
|
||||
this);
|
||||
if(!rda->open(&err_msg,NULL,false)) {
|
||||
if(!rda->open(&err_msg,NULL,false,true)) {
|
||||
QMessageBox::critical(this,"RDAlsaConfig - "+tr("Error"),err_msg);
|
||||
exit(1);
|
||||
}
|
||||
@@ -365,7 +365,7 @@ Autogen::Autogen()
|
||||
//
|
||||
rda=new RDApplication("RDAlsaConfig","rdalsaconfig",RDALSACONFIG_USAGE,
|
||||
false,this);
|
||||
if(!rda->open(&err_msg,NULL,false)) {
|
||||
if(!rda->open(&err_msg,NULL,false,true)) {
|
||||
fprintf(stderr,"rdalsaconfig: unable to open database [%s]\n",
|
||||
(const char *)err_msg.toUtf8());
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user