diff options
Diffstat (limited to 'collectiondatesview.cpp')
-rw-r--r-- | collectiondatesview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/collectiondatesview.cpp b/collectiondatesview.cpp index 5544f72..59fd5d2 100644 --- a/collectiondatesview.cpp +++ b/collectiondatesview.cpp @@ -100,5 +100,11 @@ void CollectionDatesView::copyTo(){ destDir = destDir.replace(" - ", "-"); destDir = destDir.replace(' ', '.'); cdlg->setDestFolder(destDir); + QStringList sources; + for(int i = 0; i < item->rowCount(); ++i){ + QStandardItem *childItem = item->child(i); + sources << childItem->data(FullPathRole).toString(); + } + cdlg->setSources(sources); cdlg->show(); } |