void Themes::on_putOnBottom_clicked() { ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); selectedItems=selectionModel->selectedRows(); ids.clear(); index=0; loop_size=selectedItems.size(); while(index<loop_size) { ids << transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong(); index++; } if(ids.size()>0) emit moveItemsOnBottom(ids); }
void Themes::on_putOnBottom_clicked() { ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start")); selectedItems=selectionModel->selectedRows(); QList<int> ids; int index=0; const int &loop_size=selectedItems.size(); while(index<loop_size) { ids << transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong(); index++; } if(ids.size()>0) emit moveItemsOnBottom(ids); }