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 fb6840e572.

Change-Id: I9c1791e3ecfec992da40ff72b6969d80bbb0cd7f
This commit is contained in:
Dominik Riebeling 2021-02-06 13:34:33 +01:00
parent c522917644
commit ef41cc6623
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -45,6 +45,9 @@ class ThemesInstallWindow : public QDialog
public slots:
void accept(void);
signals:
void done(bool);
private:
Ui::ThemeInstallFrm ui;
HttpGet *getter;