Skip to content
Snippets Groups Projects
Commit bad74c6b authored by Daniel Teske's avatar Daniel Teske
Browse files

Qml Console view: Fix scrolling


Broken by qtbase commit 934f06220391eb0e0ebf66a2eb037f48adb4c43c

Change-Id: I55b1ae8636a1c1cf1ed75f4d03b58ebf5bba511a
Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
parent dc77196a
No related branches found
No related tags found
No related merge requests found
......@@ -124,6 +124,8 @@ QmlConsoleView::QmlConsoleView(QWidget *parent) :
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
horizontalScrollBar()->setSingleStep(20);
verticalScrollBar()->setSingleStep(20);
connect(this, SIGNAL(activated(QModelIndex)), SLOT(onRowActivated(QModelIndex)));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment