summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2018-10-29 15:47:22 +0100
committerAleix Pol <[email protected]>2018-10-29 15:47:22 +0100
commit97e03475418bf06c76b9b24d3c90e07919ae2f1a (patch)
treec7756708120a3aad3ab1a85fae82a6bb12deb9e5
parent291cedd4102d2e37115c0fe8134d039d6d88d1de (diff)
flatpak: fix warning
-rw-r--r--libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp b/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
index dc10415..384cd3c 100644
--- a/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
+++ b/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
@@ -1199,7 +1199,7 @@ Transaction* FlatpakBackend::installApplication(AbstractResource *app, const Add
return nullptr;
}
- FlatpakJobTransaction *transaction = transaction = new FlatpakJobTransaction(resource, Transaction::InstallRole);
+ FlatpakJobTransaction *transaction = new FlatpakJobTransaction(resource, Transaction::InstallRole);
connect(transaction, &FlatpakJobTransaction::statusChanged, [this, resource] (Transaction::Status status) {
if (status == Transaction::Status::DoneStatus) {
FlatpakInstallation *installation = resource->installation();