X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/73ff57bef44984643bf1ffdb9a478095cfb78dfb..f0749ee42ccb2e0a7caee165b9934de8e61bfcbc:/src/dolphintabwidget.cpp diff --git a/src/dolphintabwidget.cpp b/src/dolphintabwidget.cpp index de7a18db3..8eac9519d 100644 --- a/src/dolphintabwidget.cpp +++ b/src/dolphintabwidget.cpp @@ -490,13 +490,13 @@ QPair DolphinTabWidget::indexByUrl(const QUrl& url, ChildUrlBehavior do { const auto tabPage = tabPageAt(i); if (tabPage->primaryViewContainer()->url() == url || - childUrlBehavior == ReturnIndexForOpenedParentAlso && tabPage->primaryViewContainer()->url().isParentOf(url)) { + (childUrlBehavior == ReturnIndexForOpenedParentAlso && tabPage->primaryViewContainer()->url().isParentOf(url))) { return qMakePair(i, true); } if (tabPage->splitViewEnabled() && (url == tabPage->secondaryViewContainer()->url() || - childUrlBehavior == ReturnIndexForOpenedParentAlso && tabPage->secondaryViewContainer()->url().isParentOf(url))) { + (childUrlBehavior == ReturnIndexForOpenedParentAlso && tabPage->secondaryViewContainer()->url().isParentOf(url)))) { return qMakePair(i, false); }