don't reset to zero the position on scrollbar move
svn path=/trunk/KDE/kdelibs/; revision=1034699
This commit is contained in:
parent
608c6b9492
commit
e6661712a8
@ -155,14 +155,14 @@ public:
|
||||
void verticalScroll(int value)
|
||||
{
|
||||
if (!dragging) {
|
||||
widget->setPos(QPoint(0, -value*10));
|
||||
widget->setPos(QPoint(widget->pos().x(), -value*10));
|
||||
}
|
||||
}
|
||||
|
||||
void horizontalScroll(int value)
|
||||
{
|
||||
if (!dragging) {
|
||||
widget->setPos(QPoint(-value*10, 0));
|
||||
widget->setPos(QPoint(-value*10, widget->pos().y()));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user