Moved line edit into member
This commit is contained in:
@@ -11,7 +11,8 @@ WeatherSettings::WeatherSettings(ZeiterfassungSettings &settings, QWidget *paren
|
|||||||
auto layout = new QFormLayout(this);
|
auto layout = new QFormLayout(this);
|
||||||
layout->setMargin(0);
|
layout->setMargin(0);
|
||||||
|
|
||||||
layout->addRow(tr("Weather API:"), new QLineEdit(this));
|
m_lineEdit = new QLineEdit(this);
|
||||||
|
layout->addRow(tr("Weather API:"), m_lineEdit);
|
||||||
|
|
||||||
setLayout(layout);
|
setLayout(layout);
|
||||||
}
|
}
|
||||||
|
@@ -20,6 +20,8 @@ public Q_SLOTS:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
ZeiterfassungSettings &m_settings;
|
ZeiterfassungSettings &m_settings;
|
||||||
|
|
||||||
|
QLineEdit *m_lineEdit;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // WEATHERSETTINGS_H
|
#endif // WEATHERSETTINGS_H
|
||||||
|
Reference in New Issue
Block a user