mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +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,10 +69,10 @@ namespace BlackMisc
|
||||
void setDescription(const QString &description) { m_description = description.trimmed().simplified(); }
|
||||
|
||||
//! Get port
|
||||
qint32 getPort() const { return m_port; }
|
||||
int getPort() const { return m_port; }
|
||||
|
||||
//! Set port
|
||||
void setPort(qint32 port) { m_port = port; }
|
||||
void setPort(int port) { m_port = port; }
|
||||
|
||||
//! Server is accepting connections
|
||||
bool isAcceptingConnections() const { return m_isAcceptingConnections; }
|
||||
@@ -101,9 +101,9 @@ namespace BlackMisc
|
||||
QString m_name;
|
||||
QString m_description;
|
||||
QString m_address;
|
||||
qint32 m_port;
|
||||
CUser m_user;
|
||||
bool m_isAcceptingConnections;
|
||||
int m_port;
|
||||
CUser m_user;
|
||||
bool m_isAcceptingConnections;
|
||||
};
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user