enable context menu for the vertical scrollbar.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22317 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-12-26 15:04:20 +00:00
parent 02fd454216
commit c451018f30

View File

@ -231,9 +231,6 @@ GuiWorkArea::GuiWorkArea(Buffer & buffer, GuiView & lv)
QObject::connect(verticalScrollBar(), SIGNAL(actionTriggered(int)), QObject::connect(verticalScrollBar(), SIGNAL(actionTriggered(int)),
this, SLOT(adjustViewWithScrollBar(int))); this, SLOT(adjustViewWithScrollBar(int)));
// disable context menu for the scrollbar
verticalScrollBar()->setContextMenuPolicy(Qt::NoContextMenu);
// PageStep only depends on the viewport height. // PageStep only depends on the viewport height.
verticalScrollBar()->setPageStep(viewport()->height()); verticalScrollBar()->setPageStep(viewport()->height());