Skip to content

Commit

Permalink
RELESE 1.0.0-lite (update message fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
pietr26 committed Jun 10, 2022
1 parent f7f5835 commit e395d35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OTModules/OTGeneric/wstart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ wStart::wStart(QWidget *parent)

if (checkForUpdate)
{
QStringList update = misc.getUpdateInformation();
update = misc.getUpdateInformation();
set.write("main", "lastAutoUpdateCheck", misc.getDate("yyyyMMdd"));

if (update.at(0) == "noUpdates")
Expand Down Expand Up @@ -241,7 +241,7 @@ void wStart::on_btnStyleTest_clicked()
/// Opens wReleaseNotes to show latest update notes
void wStart::on_btnView_clicked()
{
WRELEASENOTES = new wReleaseNotes(this);
WRELEASENOTES = new wReleaseNotes(this, true, update.at(1));
WRELEASENOTES->setWindowModality(Qt::ApplicationModal);
WRELEASENOTES->show();
}
Expand Down
2 changes: 2 additions & 0 deletions OTModules/OTGeneric/wstart.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ private slots:

QString updateVersion;
void startCounterMsgSender();

QStringList update;
};

#endif // WSTART_H

0 comments on commit e395d35

Please sign in to comment.