Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kconfig: qconf: remove initial call to conf_changed()

If any CONFIG option is changed while loading the .config file,
conf_read() calls conf_set_changed(true) and then the conf_changed()
callback.

With conf_read() moved after window initialization, the explicit
conf_changed() call can be removed.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

+3 -3
+3 -3
scripts/kconfig/qconf.cc
··· 1397 1397 1398 1398 conf_set_changed_callback(conf_changed); 1399 1399 1400 - // Set saveAction's initial state 1401 - conf_changed(); 1402 1400 configname = xstrdup(conf_get_configname()); 1403 1401 1404 1402 QAction *saveAsAction = new QAction("Save &As...", this); ··· 1902 1904 1903 1905 conf_parse(name); 1904 1906 fixup_rootmenu(&rootmenu); 1905 - conf_read(NULL); 1906 1907 //zconfdump(stdout); 1907 1908 1908 1909 configApp = new QApplication(ac, av); ··· 1913 1916 //zconfdump(stdout); 1914 1917 configApp->connect(configApp, SIGNAL(lastWindowClosed()), SLOT(quit())); 1915 1918 configApp->connect(configApp, SIGNAL(aboutToQuit()), v, SLOT(saveSettings())); 1919 + 1920 + conf_read(NULL); 1921 + 1916 1922 v->show(); 1917 1923 configApp->exec(); 1918 1924