diff --git a/UpdaterWindow.cpp b/UpdaterWindow.cpp index 65d3efb1..0141adac 100644 --- a/UpdaterWindow.cpp +++ b/UpdaterWindow.cpp @@ -12,7 +12,7 @@ #include #include -#include "SleepLib/preferences.h" +#include "SleepLib/profiles.h" #include "quazip/quazip.h" #include "quazip/quazipfile.h" #include "UpdaterWindow.h" @@ -473,6 +473,8 @@ void UpdaterWindow::upgradeNext() ui->downloadTitle->setText("Update Complete!"); ui->FinishedButton->setVisible(true); ui->downloadLabel->setText("Updates Complete. SleepyHead needs to restart now, click Finished to do so."); + PREF["Updates_LastChecked"]=QDateTime::currentDateTime(); + PREF["VersionString"]=release->version; } else { ui->downloadTitle->setText("Update Failed :("); success=false;