diff options
author | robotbrain <robotbrainify@gmail.com> | 2014-02-23 19:45:59 -0500 |
---|---|---|
committer | robotbrain <robotbrainify@gmail.com> | 2014-02-23 19:48:00 -0500 |
commit | 5e33da258c3b5159dba854eb4792d0852a1ca363 (patch) | |
tree | 62f8819b0974c415e883d43eefb0ffb2fff73702 /gui/dialogs/ScreenshotDialog.cpp | |
parent | 4a77524b059c12165e20b38de6c0d4ed08e56419 (diff) | |
download | MultiMC-5e33da258c3b5159dba854eb4792d0852a1ca363.tar MultiMC-5e33da258c3b5159dba854eb4792d0852a1ca363.tar.gz MultiMC-5e33da258c3b5159dba854eb4792d0852a1ca363.tar.lz MultiMC-5e33da258c3b5159dba854eb4792d0852a1ca363.tar.xz MultiMC-5e33da258c3b5159dba854eb4792d0852a1ca363.zip |
Close to finished. Need to fix the upload part. Viewing works (in grayscale)
Diffstat (limited to 'gui/dialogs/ScreenshotDialog.cpp')
-rw-r--r-- | gui/dialogs/ScreenshotDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/dialogs/ScreenshotDialog.cpp b/gui/dialogs/ScreenshotDialog.cpp index 662c9e84..8900f15b 100644 --- a/gui/dialogs/ScreenshotDialog.cpp +++ b/gui/dialogs/ScreenshotDialog.cpp @@ -20,7 +20,7 @@ QList<ScreenShot*> ScreenshotDialog::selected() { QList<ScreenShot*> list; QList<ScreenShot*> first = m_list->screenshots(); - for (QModelIndex index : ui->listView->selectionModel()->selectedIndexes()) + for (QModelIndex index : ui->listView->selectionModel()->selectedRows()) { list.append(first.at(index.row())); } |