Mercurial > trustbridge
comparison ui/mainwindow.cpp @ 684:69def231f5ac
(issue28) clear manual updates after installation.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 01 Jul 2014 11:36:44 +0200 |
parents | e8bc1215904e |
children | 973a7ce19658 |
comparison
equal
deleted
inserted
replaced
683:05953583a738 | 684:69def231f5ac |
---|---|
824 void MainWindow::loadCertificateList() | 824 void MainWindow::loadCertificateList() |
825 { | 825 { |
826 /* TODO: if nothing is available (neither old nor new) add some progress | 826 /* TODO: if nothing is available (neither old nor new) add some progress |
827 * indication */ | 827 * indication */ |
828 mInstallList->clear(); | 828 mInstallList->clear(); |
829 mRemoveList->clear(); | |
829 mUpdatesNew->clear(); | 830 mUpdatesNew->clear(); |
830 mRemoveList->clear(); | |
831 mUpdatesRemove->clear(); | 831 mUpdatesRemove->clear(); |
832 QList<Certificate> newInstallCerts; | 832 QList<Certificate> newInstallCerts; |
833 QList<Certificate> newRemoveCerts; | 833 QList<Certificate> newRemoveCerts; |
834 QList<Certificate> oldInstallCerts; | 834 QList<Certificate> oldInstallCerts; |
835 QList<Certificate> oldRemoveCerts; | 835 QList<Certificate> oldRemoveCerts; |
927 mSettings.setValue("List/installed", listFileName); | 927 mSettings.setValue("List/installed", listFileName); |
928 mSettings.setValue("List/installedDate", listFileDate); | 928 mSettings.setValue("List/installedDate", listFileDate); |
929 mInstalledList = mListToInstall; | 929 mInstalledList = mListToInstall; |
930 mListToInstall = CertificateList(); | 930 mListToInstall = CertificateList(); |
931 } | 931 } |
932 mUpdatesManual->clear(); | |
932 loadCertificateList(); | 933 loadCertificateList(); |
933 } | 934 } |
934 | 935 |
935 void MainWindow::installCerts() { | 936 void MainWindow::installCerts() { |
936 QStringList choices; | 937 QStringList choices; |