1
0
Fork 0
forked from len0rd/rockbox

rbutil: Modernize connect() calls.

Auto fixed by clazy.

Change-Id: Iea16d892fd81c151f0081f7476acc5eda62afc25
This commit is contained in:
Dominik Riebeling 2021-12-26 19:50:19 +01:00
parent 9f3d6e47e7
commit 1ad4faa334
9 changed files with 33 additions and 34 deletions

View file

@ -31,9 +31,9 @@ UninstallWindow::UninstallWindow(QWidget *parent) : QDialog(parent)
uninstaller = new Uninstaller(this,mountpoint);
logger = new ProgressLoggerGui(this);
connect(uninstaller, SIGNAL(logItem(QString, int)), logger, SLOT(addItem(QString, int)));
connect(uninstaller, &Uninstaller::logItem, logger, &ProgressLoggerGui::addItem);
connect(uninstaller, &Uninstaller::logProgress, logger, &ProgressLoggerGui::setProgress);
connect(uninstaller, SIGNAL(logFinished(void)), logger, SLOT(setFinished(void)));
connect(uninstaller, &Uninstaller::logFinished, logger, &ProgressLoggerGui::setFinished);
connect(logger, &ProgressLoggerGui::closed, this, &QWidget::close);
// disable smart uninstall, if not possible