summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/ScreenshotDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/dialogs/ScreenshotDialog.cpp')
-rw-r--r--gui/dialogs/ScreenshotDialog.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/gui/dialogs/ScreenshotDialog.cpp b/gui/dialogs/ScreenshotDialog.cpp
index 3b4af5e5..c62e1d52 100644
--- a/gui/dialogs/ScreenshotDialog.cpp
+++ b/gui/dialogs/ScreenshotDialog.cpp
@@ -2,7 +2,7 @@
#include "ui_ScreenshotDialog.h"
#include <QModelIndex>
-#include <QDebug>
+#include <QMutableListIterator>
#include "ProgressDialog.h"
#include "CustomMessageBox.h"
@@ -71,3 +71,8 @@ void ScreenshotDialog::on_uploadBtn_clicked()
reject();
}
}
+
+void ScreenshotDialog::on_deleteBtn_clicked()
+{
+ m_list->deleteSelected(this);
+}