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) | |
download | rockbox-ef41cc6623226f3ce7630211ef88640a48fb8e59.tar.gz rockbox-ef41cc6623226f3ce7630211ef88640a48fb8e59.zip |
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() | |||
328 | { | 328 | { |
329 | if(ui.listThemes->selectedItems().size() == 0) { | 329 | if(ui.listThemes->selectedItems().size() == 0) { |
330 | logger->addItem(tr("No themes selected, skipping"), LOGINFO); | 330 | logger->addItem(tr("No themes selected, skipping"), LOGINFO); |
331 | emit done(false); | ||
331 | return; | 332 | return; |
332 | } | 333 | } |
333 | QStringList themes; | 334 | 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 | |||
45 | public slots: | 45 | public slots: |
46 | void accept(void); | 46 | void accept(void); |
47 | 47 | ||
48 | signals: | ||
49 | void done(bool); | ||
50 | |||
48 | private: | 51 | private: |
49 | Ui::ThemeInstallFrm ui; | 52 | Ui::ThemeInstallFrm ui; |
50 | HttpGet *getter; | 53 | HttpGet *getter; |