diff options
| author | Peter Penz <[email protected]> | 2010-01-26 08:27:42 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-01-26 08:27:42 +0000 |
| commit | e536466ac75e7fa3cfdc18728596beac36996128 (patch) | |
| tree | 027d1a6fd983efb0870a3ff76f8e33c71a84ad6d /src/dolphincolumnview.cpp | |
| parent | 5accf42fc8695460832eee7c68f577f62c419642 (diff) | |
* Assure that the URL navigator is synchronized with the active column.
* Removed obsolete triggerUrlChangeRequest() method + signal in the DolphinController. This is not needed anymore because of the refactored column view.
svn path=/trunk/KDE/kdebase/apps/; revision=1080351
Diffstat (limited to 'src/dolphincolumnview.cpp')
| -rw-r--r-- | src/dolphincolumnview.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/dolphincolumnview.cpp b/src/dolphincolumnview.cpp index ee3d85278..3437de499 100644 --- a/src/dolphincolumnview.cpp +++ b/src/dolphincolumnview.cpp @@ -334,13 +334,7 @@ void DolphinColumnView::keyPressEvent(QKeyEvent* event) void DolphinColumnView::contextMenuEvent(QContextMenuEvent* event) { - if (!m_active) { - m_container->requestActivation(this); - Q_ASSERT(m_container->m_controller->itemView() == this); - m_container->m_controller->triggerUrlChangeRequest(m_url); - } - Q_ASSERT(m_active); - + requestActivation(); QListView::contextMenuEvent(event); m_container->m_controller->triggerContextMenuRequest(event->pos()); } @@ -390,11 +384,8 @@ void DolphinColumnView::slotEntered(const QModelIndex& index) void DolphinColumnView::requestActivation() { - m_container->m_controller->setItemView(this); - m_container->m_controller->requestActivation(); if (!m_active) { m_container->requestActivation(this); - m_container->m_controller->triggerUrlChangeRequest(m_url); selectionModel()->clear(); } } |
