2023-06-01 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug that would cause 'failed to load translation file'
	warnings to be sent to the Apache error log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2023-06-01 15:48:34 -04:00
parent ef6165184e
commit 210bb8bca7
59 changed files with 105 additions and 65 deletions

View File

@@ -82,7 +82,8 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
//
// Open the Database
//
rda=new RDApplication("RDAlsaConfig","rdalsaconfig",RDALSACONFIG_USAGE,this);
rda=new RDApplication("RDAlsaConfig","rdalsaconfig",RDALSACONFIG_USAGE,false,
this);
if(!rda->open(&err_msg,NULL,false)) {
QMessageBox::critical(this,"RDAlsaConfig - "+tr("Error"),err_msg);
exit(1);
@@ -362,7 +363,8 @@ Autogen::Autogen()
//
// Open the Database
//
rda=new RDApplication("RDAlsaConfig","rdalsaconfig",RDALSACONFIG_USAGE,this);
rda=new RDApplication("RDAlsaConfig","rdalsaconfig",RDALSACONFIG_USAGE,
false,this);
if(!rda->open(&err_msg,NULL,false)) {
fprintf(stderr,"rdalsaconfig: unable to open database [%s]\n",
(const char *)err_msg.toUtf8());