diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-10-23 21:17:55 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-11-06 02:46:34 +0300 |
commit | b6962d8694963620401c24f051999678943a7123 (patch) | |
tree | 7f96956d4b2e770cb3b419f6508971e20cb47992 | |
parent | 375a4f4ea719ad68e305373cfe0f77ecd1378531 (diff) | |
download | linux-b6962d8694963620401c24f051999678943a7123.tar.xz |
kconfig: qconf: convert the last old connection syntax to Qt5 style
Commit a2574c12df0d ("kconfig: qconf: convert to Qt5 new signal/slot
connection syntax") converted most of the old string-based connections,
but one more instance still remains. Convert it to the new style.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
-rw-r--r-- | scripts/kconfig/qconf.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 49a3d0365c39..c922c34621a4 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -1475,6 +1475,9 @@ ConfigMainWindow::ConfigMainWindow(void) connect(helpText, &ConfigInfoView::menuSelected, this, &ConfigMainWindow::setMenuLink); + connect(configApp, &QApplication::aboutToQuit, + this, &ConfigMainWindow::saveSettings); + conf_read(NULL); QString listMode = configSettings->value("/listMode", "symbol").toString(); @@ -1863,7 +1866,6 @@ int main(int ac, char** av) v = new ConfigMainWindow(); //zconfdump(stdout); - configApp->connect(configApp, SIGNAL(aboutToQuit()), v, SLOT(saveSettings())); v->show(); configApp->exec(); |