Commit cb8b854c authored by Harald Sitter's avatar Harald Sitter 🏳🌈
Browse files

Merge branch 'Plasma/5.17'

# Conflicts:
#	CMakeLists.txt
#	mobile/broadband/mobilebroadbandsettings.desktop
#	mobile/broadband/package/metadata.desktop
#	mobile/wifi/wifisettings.desktop
parents e76c0f11 c8775cb1
......@@ -26,6 +26,7 @@
#include <QComboBox>
#include <QCheckBox>
#include <QGroupBox>
#include <QLineEdit>
#include <QPushButton>
#include <QSpinBox>
......@@ -104,6 +105,12 @@ void SettingWidget::watchChangedSetting()
connect(tableview, &QTableView::clicked, this, &SettingWidget::settingChanged);
}
// Connect all QGroupBox widgets
QList<QGroupBox *> groupBoxes = findChildren<QGroupBox *>();
for (QGroupBox *box : groupBoxes) {
connect(box, &QGroupBox::toggled, this, &SettingWidget::settingChanged);
}
/********** OUR CUSTOM WIDGETS **********/
// Connect all PasswordField widgets
QList<PasswordField *> passwordfields = findChildren<PasswordField *>();
......
Markdown is supported
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