Browse Source

- Compilation fix for Qt 4.4

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
f6886b4749
  1. 2
      src/trackerlist.h

2
src/trackerlist.h

@ -158,7 +158,7 @@ public slots: @@ -158,7 +158,7 @@ public slots:
QList<QTreeWidgetItem *> 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));

Loading…
Cancel
Save