diff options
| author | Peter Penz <[email protected]> | 2007-11-18 14:22:36 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-11-18 14:22:36 +0000 |
| commit | 6abcaedfb08e0a9f4a11ca4f6a1f29ccc713d974 (patch) | |
| tree | 42c65705b454c9641301fb148179630e87d834e1 /src/dolphiniconsview.cpp | |
| parent | 36c5344dbd4a8d17184b972ea0d6dd32f78d7695 (diff) | |
Revert last fix, otherwise context menus on viewport don't work anymore. I'll try to find a clean patch later...
svn path=/trunk/KDE/kdebase/apps/; revision=738274
Diffstat (limited to 'src/dolphiniconsview.cpp')
| -rw-r--r-- | src/dolphiniconsview.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index 95ea011b0..08ff9cf48 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -162,9 +162,7 @@ QStyleOptionViewItem DolphinIconsView::viewOptions() const void DolphinIconsView::contextMenuEvent(QContextMenuEvent* event) { KCategorizedView::contextMenuEvent(event); - if (selectionModel()->hasSelection()) { - m_controller->triggerContextMenuRequest(event->pos()); - } + m_controller->triggerContextMenuRequest(event->pos()); } void DolphinIconsView::mousePressEvent(QMouseEvent* event) |
