diff options
| author | Elvis Angelaccio <[email protected]> | 2019-08-11 16:05:42 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2019-08-11 16:05:42 +0200 |
| commit | c18f5fde4b9be141b6de9325f92b03f774c2868b (patch) | |
| tree | 4b8ac2911e94cd73d61e3ebee8b99f93d2e949c4 | |
| parent | 87f30d3fc8172649b3c905b04e20655ca18ac68f (diff) | |
Match style of if() condition used above
To be consistent with aeba47648d8b4b43ad0f8e237cfc95b8a4bd60ac.
| -rw-r--r-- | src/global.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/global.cpp b/src/global.cpp index 64282e711..12f86a2f3 100644 --- a/src/global.cpp +++ b/src/global.cpp @@ -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())); } } |
