Commit c3e6c365 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Initialize pointer

parent 192be26b
Pipeline #201345 passed with stage
in 3 minutes and 4 seconds
......@@ -63,7 +63,7 @@ private:
bool m_valid;
int m_pendingReplies;
NetworkManager::ConnectionSettings::Ptr m_connection;
ConnectionWidget *m_connectionWidget;
ConnectionWidget *m_connectionWidget = nullptr;
QList<SettingWidget *> m_settingWidgets;
WifiSecurity *m_wifiSecurity = nullptr;
......
......@@ -76,28 +76,28 @@ private:
bool mInitialMethodType;
// Intro page
KComboBox *mDeviceComboBox;
KComboBox *mDeviceComboBox = nullptr;
void introAddInitialDevices();
void introRemoveAllDevices();
void introAddDevice(const NetworkManager::Device::Ptr &device);
// Country page
QListWidget *mCountryList;
QListWidget *mCountryList = nullptr;
// Providers page
QListWidget *mProvidersList;
QRadioButton *radioAutoProvider;
QRadioButton *radioManualProvider;
KLineEdit *lineEditProvider;
QListWidget *mProvidersList = nullptr;
QRadioButton *radioAutoProvider = nullptr;
QRadioButton *radioManualProvider = nullptr;
KLineEdit *lineEditProvider = nullptr;
// Plan page
KComboBox *mPlanComboBox;
KLineEdit *userApn;
KComboBox *mPlanComboBox = nullptr;
KLineEdit *userApn = nullptr;
// Confirm page
QLabel *labelProvider;
QLabel *labelPlanLabel;
QLabel *labelPlan;
QLabel *labelApn;
QLabel *labelProvider = nullptr;
QLabel *labelPlanLabel = nullptr;
QLabel *labelPlan = nullptr;
QLabel *labelApn = nullptr;
};
#endif // PLASMA_NM_MOBILE_CONNECTION_WIZARD_H
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment