mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 12:34:19 +00:00
- Compilation fix for Qt 4.4
This commit is contained in:
parent
8306959cb4
commit
f6886b4749
@ -158,7 +158,7 @@ public slots:
|
|||||||
QList<QTreeWidgetItem *> selected_items = getSelectedTrackerItems();
|
QList<QTreeWidgetItem *> selected_items = getSelectedTrackerItems();
|
||||||
if(selected_items.isEmpty()) return;
|
if(selected_items.isEmpty()) return;
|
||||||
bool change = false;
|
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));
|
int index = indexOfTopLevelItem(selected_items.at(i));
|
||||||
if(index < topLevelItemCount()-1) {
|
if(index < topLevelItemCount()-1) {
|
||||||
insertTopLevelItem(index+1, takeTopLevelItem(index));
|
insertTopLevelItem(index+1, takeTopLevelItem(index));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user