summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2021-02-06 13:34:33 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2021-08-04 19:10:34 +0200
commitef41cc6623226f3ce7630211ef88640a48fb8e59 (patch)
treec82d852799a9f8713a73aa4ffb732915f315df0c
parentc522917644636e874fe56225515cdbbabd9cc95e (diff)
downloadrockbox-ef41cc6623226f3ce7630211ef88640a48fb8e59.tar.gz
rockbox-ef41cc6623226f3ce7630211ef88640a48fb8e59.tar.bz2
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
-rw-r--r--rbutil/rbutilqt/themesinstallwindow.cpp1
-rw-r--r--rbutil/rbutilqt/themesinstallwindow.h3
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;