Skip to content

Commit

Permalink
Properly retrieve OpenCOR's date.
Browse files Browse the repository at this point in the history
Oops, at some point we added an "\n" to the version file, which means that retrieving the last item returned an empty string...!
  • Loading branch information
agarny committed Jun 19, 2020
1 parent f2cbf85 commit f8e03df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/misc/cliutils.cpp
Expand Up @@ -177,7 +177,7 @@ void initApplication(QString *pAppDate)
qApp->setApplicationVersion(versionDataList.first());

if (pAppDate != nullptr) {
*pAppDate = versionDataList.last();
*pAppDate = versionDataList[1];
}
}

Expand Down

0 comments on commit f8e03df

Please sign in to comment.