Ref T239, removed "QTimer m_xxx { this };" pattern

* not in worker classes as parent might have a relevance there
* in UI classes it is useless
This commit is contained in:
Klaus Basan
2018-01-31 00:05:58 +01:00
parent b12002caa2
commit 5aad426ced
18 changed files with 21 additions and 21 deletions

View File

@@ -211,7 +211,7 @@ namespace BlackGui
const QIcon m_iconPlay {":/famfamfam/icons/famfamfam/icons/silk/control_play_blue.png"};
const QIcon m_iconPause {":/famfamfam/icons/famfamfam/icons/silk/control_pause_blue.png"};
const int LogoffIntervalSeconds = 20; //!< time before logoff
QTimer m_logoffCountdownTimer { this }; //!< timer for logoff countdown
QTimer m_logoffCountdownTimer; //!< timer for logoff countdown
BlackMisc::CSettingReadOnly<BlackCore::Vatsim::TTrafficServers> m_otherTrafficNetworkServers { this, &CLoginComponent::reloadSettings };
BlackMisc::CData<BlackMisc::Simulation::Data::TLastModel> m_lastAircraftModel { this }; //!< recently used aircraft model
BlackMisc::CData<BlackMisc::Network::Data::TLastServer> m_lastServer { this }; //!< recently used server (VATSIM, other)