]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.cpp
Do not emit DolphinView's urlChanged(const KUrl&) signal if the view
[dolphin.git] / src / dolphinview.cpp
index f2f23d27301da839a03cb323993ccf2cfaba164d..48df3e20f7073510c74e60271b7a5fd7a6408eda 100644 (file)
@@ -187,10 +187,6 @@ void DolphinView::setActive(bool active)
 
     QColor color = KColorScheme(QPalette::Active, KColorScheme::View).background().color();
     if (active) {
-        // TODO: emitting urlChanged() is a hack, as the URL hasn't really changed. It
-        // bypasses the problem when having a split view and changing the active view to
-        // update the some URL dependent states. A nicer approach should be no big deal...
-        emit urlChanged(url());
         emit selectionChanged(selectedItems());
     } else {
         color.setAlpha(150);