Showing the changes to interface/src/ui/UpdateDialog.cpp (1 of 3 files). Show all
Unified · Split
| @@ -25,12 +25,11 @@ void UpdateDialog::displayDialog() { · 24 unmodified lines | ||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | void UpdateDialog::setUpdateAvailableDetails(const QString& updateAvailableDetails) { |
| 28 | − if (updateAvailableDetails != _updateAvailableDetails) { | |
| 28 | + if (updateAvailableDetails == "") { | |
| 29 | 29 | auto applicationUpdater = DependencyManager::get<AutoUpdate>(); |
| 30 | − foreach (int key, applicationUpdater.data()->getBuildData().keys()) { | |
| 31 | − qDebug() << "[LEOTEST] Build number: " << QString::number(key); | |
| 32 | − } | |
| 33 | 30 | _updateAvailableDetails = "This is just a test " + QString::number(applicationUpdater.data()->getBuildData().lastKey()); |
| 31 | + qDebug() << "[LEOTEST] We are updating the text in the dialog"; | |
| 32 | + emit updateAvailableDetailsChanged(); | |
| 34 | 33 | } |
| 35 | 34 | } |
| 36 | 35 | |