mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 22:29:13 +08:00
Fix cppcheck and compiler warnings
This commit is contained in:
@@ -179,8 +179,6 @@ namespace BlackGui
|
||||
void CNetworkDetailsComponent::onSelectedServerChanged(const CServer &server)
|
||||
{
|
||||
if (!m_updatePilotOnServerChanges) { return; }
|
||||
const bool vatsim = this->isVatsimServerSelected();
|
||||
const CUser user = vatsim ? this->getCurrentVatsimServer().getUser() : server.getUser();
|
||||
emit this->overridePilot(server.getUser());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user