mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Fixed warnings as mentioned in
https://dev.vatsim-germany.org/boards/22/topics/2587?r=2598#message-2598 and found by +win32-msvc*:QMAKE_CXXFLAGS_WARN_ON *= /Wall /W3 /wd4640 /wd4619 /wd4350 /wd4351
This commit is contained in:
@@ -173,7 +173,7 @@ void Client::presetLoginModeCmd(QTextStream &args)
|
||||
{
|
||||
QString modeString;
|
||||
args >> modeString;
|
||||
BlackCore::INetwork::LoginMode mode;
|
||||
BlackCore::INetwork::LoginMode mode(BlackCore::INetwork::LoginNormal);
|
||||
if (modeString == "normal") { mode = BlackCore::INetwork::LoginNormal; }
|
||||
if (modeString == "observer") { mode = BlackCore::INetwork::LoginAsObserver; }
|
||||
if (modeString == "stealth") { mode = BlackCore::INetwork::LoginStealth; }
|
||||
|
||||
Reference in New Issue
Block a user