┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-11-18 14:22:36 +0000
committerPeter Penz <[email protected]>2007-11-18 14:22:36 +0000
commit6abcaedfb08e0a9f4a11ca4f6a1f29ccc713d974 (patch)
tree42c65705b454c9641301fb148179630e87d834e1 /src/dolphindetailsview.cpp
parent36c5344dbd4a8d17184b972ea0d6dd32f78d7695 (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/dolphindetailsview.cpp')
-rw-r--r--src/dolphindetailsview.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp
index 9dd91b308..f4bba2f03 100644
--- a/src/dolphindetailsview.cpp
+++ b/src/dolphindetailsview.cpp
@@ -167,9 +167,7 @@ QStyleOptionViewItem DolphinDetailsView::viewOptions() const
void DolphinDetailsView::contextMenuEvent(QContextMenuEvent* event)
{
QTreeView::contextMenuEvent(event);
- if (selectionModel()->hasSelection()) {
- m_controller->triggerContextMenuRequest(event->pos());
- }
+ m_controller->triggerContextMenuRequest(event->pos());
}
void DolphinDetailsView::mousePressEvent(QMouseEvent* event)