diff options
Diffstat (limited to 'kicker/kicker/core/containerarea.cpp')
-rw-r--r-- | kicker/kicker/core/containerarea.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kicker/kicker/core/containerarea.cpp b/kicker/kicker/core/containerarea.cpp index b34847dbf..5b1eb5c8c 100644 --- a/kicker/kicker/core/containerarea.cpp +++ b/kicker/kicker/core/containerarea.cpp @@ -1611,8 +1611,8 @@ void ContainerArea::moveDragIndicator(int pos) { int newX = pos; _dragIndicator->resize(_dragIndicator->preferredSize()); - newX = QMAX(newX, availableSpace.left()); - newX = QMIN(newX, + newX = TQMAX(newX, availableSpace.left()); + newX = TQMIN(newX, availableSpace.right() + 1 - _dragIndicator->width() ); _dragIndicator->move(newX, availableSpace.top()); } @@ -1629,8 +1629,8 @@ void ContainerArea::moveDragIndicator(int pos) { int newY = pos; _dragIndicator->resize(_dragIndicator->preferredSize()); - newY = QMAX(newY, availableSpace.top()); - newY = QMIN(newY, + newY = TQMAX(newY, availableSpace.top()); + newY = TQMIN(newY, availableSpace.bottom() + 1 - _dragIndicator->height() ); _dragIndicator->move(availableSpace.left(), newY); } |