summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-08-19 23:14:06 +0200
committerPetr Mrázek <peterix@gmail.com>2017-08-19 23:14:06 +0200
commit140c31293cf21c8704f774d56aa4c45db992a557 (patch)
treee5018f518e3a22a8b43ba968c515ae2e396ea58e
parent8cf88ffc580310e2e814d097358ff783cd5c4416 (diff)
downloadMultiMC-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.
-rw-r--r--application/pages/ScreenshotsPage.cpp2
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;