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:
Roland Winklmeier
2016-06-28 16:16:51 +02:00
parent a3fbbd7a67
commit 63c88c6919
2 changed files with 8 additions and 10 deletions

View File

@@ -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;