[PATCH] (issue28) clear manual updates after installation

Wald Commits scm-commit at wald.intevation.org
Tue Jul 1 11:37:00 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1404207404 -7200
# Node ID 69def231f5acfc2bbfe8c874b7edf208bbd10e15
# Parent  05953583a7381b10d40bfc3507563c3bb97a4b24
(issue28) clear manual updates after installation.

diff -r 05953583a738 -r 69def231f5ac ui/mainwindow.cpp
--- a/ui/mainwindow.cpp	Mon Jun 30 19:04:15 2014 +0200
+++ b/ui/mainwindow.cpp	Tue Jul 01 11:36:44 2014 +0200
@@ -826,8 +826,8 @@
     /* TODO: if nothing is available (neither old nor new) add some progress
      * indication */
     mInstallList->clear();
+    mRemoveList->clear();
     mUpdatesNew->clear();
-    mRemoveList->clear();
     mUpdatesRemove->clear();
     QList<Certificate> newInstallCerts;
     QList<Certificate> newRemoveCerts;
@@ -929,6 +929,7 @@
         mInstalledList = mListToInstall;
         mListToInstall = CertificateList();
     }
+    mUpdatesManual->clear();
     loadCertificateList();
 }
 


More information about the Trustbridge-commits mailing list