]> cloud.milkyroute.net Git - dolphin.git/commit
Enable "menu key" functionality
authorPeter Penz <peter.penz19@gmail.com>
Wed, 7 Dec 2011 22:04:09 +0000 (23:04 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Wed, 7 Dec 2011 22:10:00 +0000 (23:10 +0100)
commitb358e9928049575cf3118f3950caf52bfa003404
treedca93a2c2d8c55c20b7beae93000756ad765dd43
parent5a3e79e4ed7167e2bffb19b2a37db5184a643eee
Enable "menu key" functionality

Bring back the functionality that a context-menu is opened if the "menu key" has been pressed. In opposite to Dolphin 1.7 the context-menu is shown above the selected item and not on the (probably unrelated) mouse position.

A new method KItemListView::itemContextRect() has been introduced: The method is now also used as reference for tooltips which fixes the issue that tooltips had a wrong horizontal alignment in the details-view.

BUG: 288366
FIXED-IN: 4.8.0
src/kitemviews/kitemlistcontroller.cpp
src/kitemviews/kitemlistview.cpp
src/kitemviews/kitemlistview.h
src/views/dolphinview.cpp