diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-08-19 23:14:06 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-08-19 23:14:06 +0200 |
commit | 140c31293cf21c8704f774d56aa4c45db992a557 (patch) | |
tree | e5018f518e3a22a8b43ba968c515ae2e396ea58e /application/pages/ScreenshotsPage.cpp | |
parent | 8cf88ffc580310e2e814d097358ff783cd5c4416 (diff) | |
download | MultiMC-140c31293cf21c8704f774d56aa4c45db992a557.tar MultiMC-140c31293cf21c8704f774d56aa4c45db992a557.tar.gz MultiMC-140c31293cf21c8704f774d56aa4c45db992a557.tar.lz MultiMC-140c31293cf21c8704f774d56aa4c45db992a557.tar.xz MultiMC-140c31293cf21c8704f774d56aa4c45db992a557.zip |
NOISSUE use rows when uploading screenshots
Using all indexes was quadrupling the uploaded items.
Diffstat (limited to 'application/pages/ScreenshotsPage.cpp')
-rw-r--r-- | application/pages/ScreenshotsPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/pages/ScreenshotsPage.cpp b/application/pages/ScreenshotsPage.cpp index a4ee6f9d..7d32576a 100644 --- a/application/pages/ScreenshotsPage.cpp +++ b/application/pages/ScreenshotsPage.cpp @@ -280,7 +280,7 @@ void ScreenshotsPage::on_viewFolderBtn_clicked() void ScreenshotsPage::on_uploadBtn_clicked() { - auto selection = ui->listView->selectionModel()->selectedIndexes(); + auto selection = ui->listView->selectionModel()->selectedRows(); if (selection.isEmpty()) return; |