┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphintabpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphintabpage.cpp')
-rw-r--r--src/dolphintabpage.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/dolphintabpage.cpp b/src/dolphintabpage.cpp
index 8e06bbb69..35c244c9e 100644
--- a/src/dolphintabpage.cpp
+++ b/src/dolphintabpage.cpp
@@ -470,17 +470,7 @@ void DolphinTabPage::slotViewActivated()
void DolphinTabPage::slotViewUrlRedirection(const QUrl &oldUrl, const QUrl &newUrl)
{
- // Make sure the url of the view is updated. BUG:496414
- if (splitViewEnabled()) {
- if (primaryViewContainer()->view()->url() == oldUrl) {
- primaryViewContainer()->view()->setUrl(newUrl);
- }
- if (secondaryViewContainer()->view()->url() == oldUrl) {
- secondaryViewContainer()->view()->setUrl(newUrl);
- }
- } else {
- activeViewContainer()->view()->setUrl(newUrl);
- }
+ Q_UNUSED(oldUrl)
Q_EMIT activeViewUrlChanged(newUrl);
}