From f6886b47499a75fe1f134b4cbdca46f5564a1a01 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 9 Jan 2010 14:19:43 +0000 Subject: [PATCH] - Compilation fix for Qt 4.4 --- src/trackerlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trackerlist.h b/src/trackerlist.h index 52fc95e9b..033d17c81 100644 --- a/src/trackerlist.h +++ b/src/trackerlist.h @@ -158,7 +158,7 @@ public slots: QList selected_items = getSelectedTrackerItems(); if(selected_items.isEmpty()) return; bool change = false; - for(int i=selectedItems().length()-1; i>= 0; --i) { + for(int i=selectedItems().size()-1; i>= 0; --i) { int index = indexOfTopLevelItem(selected_items.at(i)); if(index < topLevelItemCount()-1) { insertTopLevelItem(index+1, takeTopLevelItem(index));