summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/installthemes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/installthemes.cpp')
-rw-r--r--rbutil/rbutilqt/installthemes.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/installthemes.cpp b/rbutil/rbutilqt/installthemes.cpp
index 15a74f915c..9c98ede32a 100644
--- a/rbutil/rbutilqt/installthemes.cpp
+++ b/rbutil/rbutilqt/installthemes.cpp
@@ -35,6 +35,7 @@ ThemesInstallWindow::ThemesInstallWindow(QWidget *parent) : QDialog(parent)
connect(ui.buttonCancel, SIGNAL(clicked()), this, SLOT(close()));
connect(ui.buttonOk, SIGNAL(clicked()), this, SLOT(accept()));
+ connect(ui.buttonOkAll, SIGNAL(clicked()), this, SLOT(acceptAll()));
}
ThemesInstallWindow::~ThemesInstallWindow()
@@ -271,6 +272,12 @@ void ThemesInstallWindow::setProxy(QUrl p)
}
+void ThemesInstallWindow::acceptAll()
+{
+ ui.listThemes->selectAll();
+ accept();
+}
+
void ThemesInstallWindow::accept()
{
if(ui.listThemes->selectedItems().size() == 0) {