mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +03:00
remove dubious GNUC and rename 9x refrences
This commit is contained in:
parent
355f4b5f92
commit
5825a2ec2c
1 changed files with 4 additions and 5 deletions
|
@ -294,13 +294,12 @@ void MainWindow::checkForCompanionUpdateFinished(QNetworkReply * reply)
|
|||
if (version.isNull())
|
||||
return onUpdatesError();
|
||||
|
||||
int vnum = version2index(version);
|
||||
int webVersion = version2index(version);
|
||||
|
||||
QString c9xversion = QString(VERSION);
|
||||
int c9xver = version2index(c9xversion);
|
||||
int ownVersion = version2index(VERSION);
|
||||
|
||||
if (c9xver < vnum) {
|
||||
#if defined WIN32 || !defined __GNUC__ || defined __APPLE__
|
||||
if (ownVersion < webVersion) {
|
||||
#if defined WIN32 || defined __APPLE__
|
||||
int ret = QMessageBox::question(this, "Companion", tr("A new version of Companion is available (version %1)<br>"
|
||||
"Would you like to download it?").arg(version) ,
|
||||
QMessageBox::Yes | QMessageBox::No);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue