From 65c0544a2a7983dc65a1e0e294ce2149c29f6c54 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 4 Dec 2006 05:48:57 +0000 Subject: Use QWidget::contextMenuEvent() instead of directly listening to the right mouse button. svn path=/trunk/playground/utils/dolphin/; revision=610302 --- src/dolphiniconsview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dolphiniconsview.h') diff --git a/src/dolphiniconsview.h b/src/dolphiniconsview.h index 1f4f5d70b..7d4a826ac 100644 --- a/src/dolphiniconsview.h +++ b/src/dolphiniconsview.h @@ -42,7 +42,7 @@ public: virtual ~DolphinIconsView(); protected: - virtual void mousePressEvent(QMouseEvent* event); + virtual void contextMenuEvent(QContextMenuEvent* event); virtual void mouseReleaseEvent(QMouseEvent* event); private: -- cgit v1.3.1