comparison ui/mainwindow.cpp @ 819:a2e891b13e68

(issue67) also register list installation if software update is available
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 15 Jul 2014 19:00:26 +0200
parents c4af7874250b
children 78c8ce22d9f4
comparison
equal deleted inserted replaced
818:fbd1cabad41e 819:a2e891b13e68
1043 void MainWindow::installerError(const QString& errMsg) { 1043 void MainWindow::installerError(const QString& errMsg) {
1044 QMessageBox::warning(this, tr("Error executing update"), errMsg); 1044 QMessageBox::warning(this, tr("Error executing update"), errMsg);
1045 } 1045 }
1046 1046
1047 void MainWindow::installerSuccess() { 1047 void MainWindow::installerSuccess() {
1048 if (mCurState == NewListAvailable) { 1048 if (mCurState == NewListAvailable || mCurState == NewSoftwareAvailable) {
1049 mCurState = NothingChanged; 1049 mCurState = NothingChanged;
1050 mCurMessage = QString(); 1050 mCurMessage = QString();
1051 1051
1052 QString listFileName = mSettings.value("List/available").toString(); 1052 QString listFileName = mSettings.value("List/available").toString();
1053 QDateTime listFileDate = mSettings.value("List/availableDate").toDateTime(); 1053 QDateTime listFileDate = mSettings.value("List/availableDate").toDateTime();

http://wald.intevation.org/projects/trustbridge/