diff --git a/src/dolphintabwidget.cpp b/src/dolphintabwidget.cpp index de7a18db36..8eac9519d2 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); }