summaryrefslogtreecommitdiffstats
path: root/src/flowlayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/flowlayout.cpp')
-rw-r--r--src/flowlayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flowlayout.cpp b/src/flowlayout.cpp
index fb7223c..ae37828 100644
--- a/src/flowlayout.cpp
+++ b/src/flowlayout.cpp
@@ -141,8 +141,8 @@ uint FlowLayout::count(){
}
bool FlowLayout::moveItem(const TQLayoutItem* which, const TQLayoutItem* relate, DIRECTION direction){
- int newPos = mLayoutItems.tqfindRef(relate);
- int oldPos = mLayoutItems.tqfindRef(which);
+ int newPos = mLayoutItems.findRef(relate);
+ int oldPos = mLayoutItems.findRef(which);
// check whether the widget is already at a correct position
if(oldPos+1 == newPos && direction == ABOVE || oldPos-1 == newPos && direction == BELOW)