mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Match style of if() condition used above
To be consistent with aeba47648d
.
This commit is contained in:
parent
87f30d3fc8
commit
c18f5fde4b
|
@ -103,10 +103,9 @@ bool Dolphin::attachToExistingInstance(const QList<QUrl>& inputUrls, bool openFi
|
|||
QStringLiteral("/dolphin/Dolphin_1"),
|
||||
QStringLiteral("org.kde.dolphin.MainWindow"))
|
||||
);
|
||||
if (!instance->isValid() || instance->lastError().isValid()) {
|
||||
continue;
|
||||
if (instance->isValid() && !instance->lastError().isValid()) {
|
||||
dolphinServices.append(qMakePair(instance, QStringList()));
|
||||
}
|
||||
dolphinServices.append(qMakePair(instance, QStringList()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue