mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
refs #369, gcc fixes
This commit is contained in:
@@ -260,8 +260,8 @@ namespace BlackMisc
|
||||
bool m_isOnline = false;
|
||||
QDateTime m_bookedFromUtc;
|
||||
QDateTime m_bookedUntilUtc;
|
||||
CInformationMessage m_atis = { CInformationMessage::ATIS };
|
||||
CInformationMessage m_metar = { CInformationMessage::METAR };
|
||||
CInformationMessage m_atis { CInformationMessage::ATIS };
|
||||
CInformationMessage m_metar { CInformationMessage::METAR };
|
||||
BlackMisc::Audio::CVoiceRoom m_voiceRoom;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
@@ -88,6 +88,8 @@ namespace BlackMisc
|
||||
return CVariant::fromValue(this->getMSecsSinceEpoch());
|
||||
case IndexUtcTimestampFormatted:
|
||||
return CVariant::fromValue(this->getFormattedUtcTimestamp());
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
const QString m = QString("Cannot handle index %1").arg(index.toQString());
|
||||
@@ -108,6 +110,9 @@ namespace BlackMisc
|
||||
case IndexMSecsSinceEpoch:
|
||||
this->setMSecsSinceEpoch(variant.toInt());
|
||||
return;
|
||||
case IndexUtcTimestampFormatted:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
const QString m = QString("Cannot handle index %1").arg(index.toQString());
|
||||
|
||||
Reference in New Issue
Block a user