Merge pull request #11135 from Chocobo1/fix

Initialize pointers
This commit is contained in:
Mike Tzou 2019-08-28 15:40:12 +08:00 committed by GitHub
commit 4a9fc48dee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,10 +77,10 @@ private:
void wheelEvent(QWheelEvent *event) override;
QStandardItemModel *m_listModel;
PeerListSortModel *m_proxyModel;
PropertiesWidget *m_properties;
Net::ReverseResolution *m_resolver;
QStandardItemModel *m_listModel = nullptr;
PeerListSortModel *m_proxyModel = nullptr;
PropertiesWidget *m_properties = nullptr;
Net::ReverseResolution *m_resolver = nullptr;
QHash<QString, QStandardItem *> m_peerItems;
bool m_resolveCountries;
};