mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-01 22:30:13 +01: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:
@@ -23940,3 +23940,6 @@
|
|||||||
2023-01-20 Fred Gleason <fredg@paravelsystems.com>
|
2023-01-20 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a regression in rdairplay(1) that broke the 'Audition Head'
|
* Fixed a regression in rdairplay(1) that broke the 'Audition Head'
|
||||||
and 'Audition Tail' buttons in the Full Log widget.
|
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);
|
split("\n",QString::SkipEmptyParts);
|
||||||
for(int i=0;i<f0.size();i++) {
|
for(int i=0;i<f0.size();i++) {
|
||||||
QStringList f1=f0.at(i).split(" ",QString::SkipEmptyParts);
|
QStringList f1=f0.at(i).split(" ",QString::SkipEmptyParts);
|
||||||
if(f1.size()>=4) {
|
if(f1.size()>=6) {
|
||||||
if(f1.at(3).trimmed().toLower()==commandName()) {
|
if((f1.at(3).trimmed().toLower()==commandName())&&
|
||||||
|
(f1.at(4)==(QString("v")+VERSION))&&
|
||||||
|
(f1.at(5)=="-")) {
|
||||||
Raise(f1.at(0));
|
Raise(f1.at(0));
|
||||||
found=true;
|
found=true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
|
|||||||
}
|
}
|
||||||
setWindowIcon(rda->iconEngine()->
|
setWindowIcon(rda->iconEngine()->
|
||||||
applicationIcon(RDIconEngine::RdLogManager,22));
|
applicationIcon(RDIconEngine::RdLogManager,22));
|
||||||
setWindowTitle(tr("RDLogManager"));
|
setWindowTitle(QString("RDLogManager v")+VERSION+" -");
|
||||||
|
|
||||||
//
|
//
|
||||||
// Ensure that we're the only instance
|
// Ensure that we're the only instance
|
||||||
|
|||||||
Reference in New Issue
Block a user