summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Grulich <[email protected]>2017-02-10 09:03:05 +0100
committerJan Grulich <[email protected]>2017-02-10 10:06:27 +0100
commita3060f485b600e8f6bcc6905baab94d345cce4dd (patch)
treef22200185e60dd0b7fa3f9c41dfc370247c8816c
parent64189cf5e28e7289d2e4bac564c87f0e4d23773c (diff)
Do not connect runtime job to app related slots and vise versa
-rw-r--r--libdiscover/backends/FlatpakBackend/FlatpakTransaction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiscover/backends/FlatpakBackend/FlatpakTransaction.cpp b/libdiscover/backends/FlatpakBackend/FlatpakTransaction.cpp
index ac17c1b..d45de21 100644
--- a/libdiscover/backends/FlatpakBackend/FlatpakTransaction.cpp
+++ b/libdiscover/backends/FlatpakBackend/FlatpakTransaction.cpp
@@ -81,7 +81,7 @@ void FlatpakTransaction::start()
if (m_runtime) {
m_runtimeJob = new FlatpakTransactionJob(m_installation, m_runtime, role());
connect(m_runtimeJob, &FlatpakTransactionJob::jobFinished, this, &FlatpakTransaction::onRuntimeJobFinished);
- connect(m_runtimeJob, &FlatpakTransactionJob::progressChanged, this, &FlatpakTransaction::onAppJobProgressChanged);
+ connect(m_runtimeJob, &FlatpakTransactionJob::progressChanged, this, &FlatpakTransaction::onRuntimeJobProgressChanged);
m_runtimeJob->start();
} else {
// We can mark runtime job as finished as we don't need to start it
@@ -91,7 +91,7 @@ void FlatpakTransaction::start()
// App job will be started everytime
m_appJob = new FlatpakTransactionJob(m_installation, m_app, role());
connect(m_appJob, &FlatpakTransactionJob::jobFinished, this, &FlatpakTransaction::onAppJobFinished);
- connect(m_appJob, &FlatpakTransactionJob::progressChanged, this, &FlatpakTransaction::onRuntimeJobProgressChanged);
+ connect(m_appJob, &FlatpakTransactionJob::progressChanged, this, &FlatpakTransaction::onAppJobProgressChanged);
m_appJob->start();
}