diff options
| author | Aleix Pol <aleixpol@kde.org> | 2015-09-24 14:33:43 (GMT) |
|---|---|---|
| committer | Aleix Pol <aleixpol@kde.org> | 2015-09-24 14:33:43 (GMT) |
| commit | 8f5ce6facdf66653f09df687f4b3d98ec09a660f (patch) | |
| tree | 9e277305a199adc615542792e0733c7ee6f76f47 | |
| parent | 986005aeb5cc048db61b2e61d80ef0e24a2e0f94 (diff) | |
Fix connects in updater
| -rw-r--r-- | updater/MainWindow.cpp | 2 | ||||
| -rw-r--r-- | updater/ProgressWidget.cpp | 2 | ||||
| -rw-r--r-- | updater/UpdaterWidget.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/updater/MainWindow.cpp b/updater/MainWindow.cpp index 5259933..b67bf1a 100644 --- a/updater/MainWindow.cpp +++ b/updater/MainWindow.cpp @@ -59,7 +59,7 @@ MainWindow::MainWindow() , m_controls(new QWidget) { m_updater = new ResourcesUpdatesModel(this); - connect(m_updater, SIGNAL(progressingChanged()), SLOT(progressingChanged())); + connect(m_updater, SIGNAL(progressingChanged(bool)), SLOT(progressingChanged())); setupActions(); initGUI(); diff --git a/updater/ProgressWidget.cpp b/updater/ProgressWidget.cpp index 47b2c86..6129921 100644 --- a/updater/ProgressWidget.cpp +++ b/updater/ProgressWidget.cpp @@ -81,7 +81,7 @@ ProgressWidget::ProgressWidget(ResourcesUpdatesModel* updates, QWidget *parent) m_ui->header, SLOT(setText(QString))); connect(m_updater, SIGNAL(statusDetailChanged(QString)), m_ui->details, SLOT(setText(QString))); - connect(m_updater, SIGNAL(progressingChanged()), + connect(m_updater, SIGNAL(progressingChanged(bool)), SLOT(updateIsProgressing())); cancelChanged(); diff --git a/updater/UpdaterWidget.cpp b/updater/UpdaterWidget.cpp index 2e716c0..c7b5033 100644 --- a/updater/UpdaterWidget.cpp +++ b/updater/UpdaterWidget.cpp @@ -129,7 +129,7 @@ UpdaterWidget::UpdaterWidget(ResourcesUpdatesModel* updates, QWidget *parent) : connect(ResourcesModel::global(), SIGNAL(fetchingChanged()), SLOT(activityChanged())); connect(ResourcesModel::global(), SIGNAL(updatesCountChanged()), SLOT(activityChanged())); - connect(m_updatesBackends, SIGNAL(progressingChanged()), SLOT(activityChanged())); + connect(m_updatesBackends, SIGNAL(progressingChanged(bool)), SLOT(activityChanged())); } UpdaterWidget::~UpdaterWidget() |
