mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-29 15:12:34 +02:00
2023-01-20 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'RDApplication' that could cause false detection of similarly-named windows when enforcing single instances. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
acc5e2d73f
commit
bf937d9cdb
@ -23940,3 +23940,6 @@
|
||||
2023-01-20 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in rdairplay(1) that broke the 'Audition Head'
|
||||
and 'Audition Tail' buttons in the Full Log widget.
|
||||
2023-01-20 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in 'RDApplication' that could cause false detection
|
||||
of similarly-named windows when enforcing single instances.
|
||||
|
@ -71,8 +71,10 @@ bool RDApplication::makeSingleInstance(QString *err_msg)
|
||||
split("\n",QString::SkipEmptyParts);
|
||||
for(int i=0;i<f0.size();i++) {
|
||||
QStringList f1=f0.at(i).split(" ",QString::SkipEmptyParts);
|
||||
if(f1.size()>=4) {
|
||||
if(f1.at(3).trimmed().toLower()==commandName()) {
|
||||
if(f1.size()>=6) {
|
||||
if((f1.at(3).trimmed().toLower()==commandName())&&
|
||||
(f1.at(4)==(QString("v")+VERSION))&&
|
||||
(f1.at(5)=="-")) {
|
||||
Raise(f1.at(0));
|
||||
found=true;
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
|
||||
}
|
||||
setWindowIcon(rda->iconEngine()->
|
||||
applicationIcon(RDIconEngine::RdLogManager,22));
|
||||
setWindowTitle(tr("RDLogManager"));
|
||||
setWindowTitle(QString("RDLogManager v")+VERSION+" -");
|
||||
|
||||
//
|
||||
// Ensure that we're the only instance
|
||||
|
Loading…
x
Reference in New Issue
Block a user