diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2021-12-26 19:50:19 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2021-12-26 19:50:19 +0100 |
commit | 1ad4faa33403dc24ddc6f907f2b56bbe968d77f2 (patch) | |
tree | aa6045052e1d338d28c25b8e5e2b3ad8ac116b4f /utils/rbutilqt/uninstallwindow.cpp | |
parent | 9f3d6e47e7bc7d3acf43a5ff86d3a82bbd4ad0a4 (diff) | |
download | rockbox-1ad4faa33403dc24ddc6f907f2b56bbe968d77f2.tar.gz rockbox-1ad4faa33403dc24ddc6f907f2b56bbe968d77f2.zip |
rbutil: Modernize connect() calls.
Auto fixed by clazy.
Change-Id: Iea16d892fd81c151f0081f7476acc5eda62afc25
Diffstat (limited to 'utils/rbutilqt/uninstallwindow.cpp')
-rw-r--r-- | utils/rbutilqt/uninstallwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/rbutilqt/uninstallwindow.cpp b/utils/rbutilqt/uninstallwindow.cpp index bbce88ffc2..c0c9de4c89 100644 --- a/utils/rbutilqt/uninstallwindow.cpp +++ b/utils/rbutilqt/uninstallwindow.cpp | |||
@@ -31,9 +31,9 @@ UninstallWindow::UninstallWindow(QWidget *parent) : QDialog(parent) | |||
31 | 31 | ||
32 | uninstaller = new Uninstaller(this,mountpoint); | 32 | uninstaller = new Uninstaller(this,mountpoint); |
33 | logger = new ProgressLoggerGui(this); | 33 | logger = new ProgressLoggerGui(this); |
34 | connect(uninstaller, SIGNAL(logItem(QString, int)), logger, SLOT(addItem(QString, int))); | 34 | connect(uninstaller, &Uninstaller::logItem, logger, &ProgressLoggerGui::addItem); |
35 | connect(uninstaller, &Uninstaller::logProgress, logger, &ProgressLoggerGui::setProgress); | 35 | connect(uninstaller, &Uninstaller::logProgress, logger, &ProgressLoggerGui::setProgress); |
36 | connect(uninstaller, SIGNAL(logFinished(void)), logger, SLOT(setFinished(void))); | 36 | connect(uninstaller, &Uninstaller::logFinished, logger, &ProgressLoggerGui::setFinished); |
37 | connect(logger, &ProgressLoggerGui::closed, this, &QWidget::close); | 37 | connect(logger, &ProgressLoggerGui::closed, this, &QWidget::close); |
38 | 38 | ||
39 | // disable smart uninstall, if not possible | 39 | // disable smart uninstall, if not possible |