mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +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:
@@ -69,7 +69,7 @@ namespace BlackGui
|
||||
CLogMessage(this).warning("invalid port");
|
||||
return;
|
||||
}
|
||||
quint16 p = port.toUInt();
|
||||
int p = port.toInt();
|
||||
QString msg;
|
||||
if (!CNetworkUtils::canConnect(address, p, msg))
|
||||
{
|
||||
@@ -108,7 +108,7 @@ namespace BlackGui
|
||||
CLogMessage(this).warning("invalid port");
|
||||
return;
|
||||
}
|
||||
quint16 p = port.toUInt();
|
||||
int p = port.toInt();
|
||||
QString fileName = this->getIContextSimulator()->getSimulatorInfo().getSimulatorSetupValueAsString(CFsxSimulatorSetup::SetupSimConnectCfgFile);
|
||||
Q_ASSERT(!fileName.isEmpty());
|
||||
// write either local or remote file
|
||||
|
||||
@@ -421,7 +421,6 @@ namespace BlackGui
|
||||
cmd.append(" ").append(enteredLine);
|
||||
return cmd;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
void CTextMessageComponent::onTextMessageReceived(const CTextMessageList &messages)
|
||||
|
||||
Reference in New Issue
Block a user