Gerrit: Initialize pointers in AuthenticationDialog

They are initialized in the ctor, but be on the safe side.

Change-Id: I59ac141ecbaaefe08821f7a43cfcfb09233d54aa
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Orgad Shaneh
2017-03-02 08:37:16 +02:00
committed by Orgad Shaneh
parent d32f53e176
commit cecaa6fbe7

View File

@@ -48,8 +48,8 @@ public:
private: private:
void readExistingConf(); void readExistingConf();
bool setupCredentials(); bool setupCredentials();
Ui::AuthenticationDialog *ui; Ui::AuthenticationDialog *ui = nullptr;
GerritServer *m_server; GerritServer *m_server = nullptr;
QString m_netrcFileName; QString m_netrcFileName;
QStringList m_allMachines; QStringList m_allMachines;
bool m_authenticated = true; bool m_authenticated = true;