diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2021-02-06 13:34:33 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2021-08-04 19:10:34 +0200 |
commit | ef41cc6623226f3ce7630211ef88640a48fb8e59 (patch) | |
tree | c82d852799a9f8713a73aa4ffb732915f315df0c /rbutil | |
parent | c522917644636e874fe56225515cdbbabd9cc95e (diff) |
Revert "rbutil: Remove done() signal from Themes Install window."
The done() signal is acutally needed to indicate the installation being
finished. Fixes installation being stuck after themes install.
This reverts commit fb6840e57260b1da35924914d47731e06597afea.
Change-Id: I9c1791e3ecfec992da40ff72b6969d80bbb0cd7f
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/rbutilqt/themesinstallwindow.cpp | 1 | ||||
-rw-r--r-- | rbutil/rbutilqt/themesinstallwindow.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/themesinstallwindow.cpp b/rbutil/rbutilqt/themesinstallwindow.cpp index 3b713c145f..c1a54feb74 100644 --- a/rbutil/rbutilqt/themesinstallwindow.cpp +++ b/rbutil/rbutilqt/themesinstallwindow.cpp @@ -328,6 +328,7 @@ void ThemesInstallWindow::install() { if(ui.listThemes->selectedItems().size() == 0) { logger->addItem(tr("No themes selected, skipping"), LOGINFO); + emit done(false); return; } QStringList themes; diff --git a/rbutil/rbutilqt/themesinstallwindow.h b/rbutil/rbutilqt/themesinstallwindow.h index a52c0e553a..9214e5ccbf 100644 --- a/rbutil/rbutilqt/themesinstallwindow.h +++ b/rbutil/rbutilqt/themesinstallwindow.h @@ -45,6 +45,9 @@ class ThemesInstallWindow : public QDialog public slots: void accept(void); + signals: + void done(bool); + private: Ui::ThemeInstallFrm ui; HttpGet *getter; |