diff options
Diffstat (limited to 'utils/rbutilqt/gui/backupdialog.cpp')
-rw-r--r-- | utils/rbutilqt/gui/backupdialog.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/rbutilqt/gui/backupdialog.cpp b/utils/rbutilqt/gui/backupdialog.cpp index 63e628f7cf..e48d0babae 100644 --- a/utils/rbutilqt/gui/backupdialog.cpp +++ b/utils/rbutilqt/gui/backupdialog.cpp | |||
@@ -60,7 +60,6 @@ BackupDialog::BackupDialog(QWidget* parent) : QDialog(parent) | |||
60 | 60 | ||
61 | m_thread = new BackupSizeThread(); | 61 | m_thread = new BackupSizeThread(); |
62 | connect(m_thread, &QThread::finished, this, &BackupDialog::updateSizeInfo); | 62 | connect(m_thread, &QThread::finished, this, &BackupDialog::updateSizeInfo); |
63 | connect(m_thread, SIGNAL(terminated()), this, SLOT(updateSizeInfo())); | ||
64 | 63 | ||
65 | connect(ui.buttonCancel, &QAbstractButton::clicked, this, &QWidget::close); | 64 | connect(ui.buttonCancel, &QAbstractButton::clicked, this, &QWidget::close); |
66 | connect(ui.buttonCancel, &QAbstractButton::clicked, m_thread, &QThread::quit); | 65 | connect(ui.buttonCancel, &QAbstractButton::clicked, m_thread, &QThread::quit); |
@@ -135,8 +134,8 @@ void BackupDialog::backup(void) | |||
135 | 134 | ||
136 | // create backup | 135 | // create backup |
137 | ZipUtil zip(this); | 136 | ZipUtil zip(this); |
138 | connect(&zip, SIGNAL(logProgress(int, int)), m_logger, SLOT(setProgress(int, int))); | 137 | connect(&zip, &ZipUtil::logProgress, m_logger, &ProgressLoggerGui::setProgress); |
139 | connect(&zip, SIGNAL(logItem(QString, int)), m_logger, SLOT(addItem(QString, int))); | 138 | connect(&zip, &ZipUtil::logItem, m_logger, &ProgressLoggerGui::addItem); |
140 | zip.open(m_backupName, QuaZip::mdCreate); | 139 | zip.open(m_backupName, QuaZip::mdCreate); |
141 | 140 | ||
142 | QString mp = m_mountpoint + "/.rockbox"; | 141 | QString mp = m_mountpoint + "/.rockbox"; |