mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
Replace private slot with private method
With the new Qt5 C++11 syntax, private slots are not really necessary. Replacing it with a normal private method reduces the generated code from moc and also syntax issues are raised as compiler errors instead of runtime asserts.
This commit is contained in:
@@ -66,13 +66,13 @@ namespace BlackCore
|
||||
virtual BlackCore::Settings::CSettingsReader getSettings() const override;
|
||||
//! @}
|
||||
|
||||
private slots:
|
||||
private:
|
||||
//! Decode METARs
|
||||
//! \threadsafe
|
||||
void ps_decodeMetars(QNetworkReply *nwReply);
|
||||
void decodeMetars(QNetworkReply *nwReply);
|
||||
|
||||
//! Do reading
|
||||
void ps_readMetars();
|
||||
void readMetars();
|
||||
|
||||
private:
|
||||
BlackMisc::Weather::CMetarDecoder m_metarDecoder;
|
||||
|
||||
Reference in New Issue
Block a user