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/createvoicewindow.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/createvoicewindow.cpp')
-rw-r--r-- | utils/rbutilqt/createvoicewindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/rbutilqt/createvoicewindow.cpp b/utils/rbutilqt/createvoicewindow.cpp index 36131cb537..703f1e774c 100644 --- a/utils/rbutilqt/createvoicewindow.cpp +++ b/utils/rbutilqt/createvoicewindow.cpp | |||
@@ -58,10 +58,10 @@ void CreateVoiceWindow::accept() | |||
58 | voicecreator->setWavtrimThreshold(ui.wavtrimthreshold->value()); | 58 | voicecreator->setWavtrimThreshold(ui.wavtrimthreshold->value()); |
59 | 59 | ||
60 | //start creating | 60 | //start creating |
61 | connect(voicecreator, SIGNAL(done(bool)), logger, SLOT(setFinished())); | 61 | connect(voicecreator, &VoiceFileCreator::done, logger, &ProgressLoggerGui::setFinished); |
62 | connect(voicecreator, SIGNAL(logItem(QString, int)), logger, SLOT(addItem(QString, int))); | 62 | connect(voicecreator, &VoiceFileCreator::logItem, logger, &ProgressLoggerGui::addItem); |
63 | connect(voicecreator, &VoiceFileCreator::logProgress, logger, &ProgressLoggerGui::setProgress); | 63 | connect(voicecreator, &VoiceFileCreator::logProgress, logger, &ProgressLoggerGui::setProgress); |
64 | connect(logger,SIGNAL(aborted()),voicecreator,SLOT(abort())); | 64 | connect(logger,&ProgressLoggerGui::aborted,voicecreator,&VoiceFileCreator::abort); |
65 | voicecreator->createVoiceFile(); | 65 | voicecreator->createVoiceFile(); |
66 | } | 66 | } |
67 | 67 | ||