diff options
author | Michal Marek <mmarek@suse.cz> | 2011-05-25 15:10:25 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-07-25 15:50:34 +0200 |
commit | bac6aa865b3dc98e9fbc17f11d4d513d6b0bc435 (patch) | |
tree | 26b8c3a2567286ea4da5489ac7df1c51a1f94026 /scripts/kconfig/qconf.h | |
parent | eb4cf5a642f6430cffff7ba5d8d9bd46ea409281 (diff) | |
download | lwn-bac6aa865b3dc98e9fbc17f11d4d513d6b0bc435.tar.gz lwn-bac6aa865b3dc98e9fbc17f11d4d513d6b0bc435.zip |
xconfig: Abort close if configuration cannot be saved
Give the user an opportunity to fix the error or save the configuration
under a different path.
Reported-by: Hiromu Yakura <hiromu1996@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/qconf.h')
-rw-r--r-- | scripts/kconfig/qconf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h index 91677d900dbd..3715b3e7212c 100644 --- a/scripts/kconfig/qconf.h +++ b/scripts/kconfig/qconf.h @@ -311,7 +311,7 @@ public slots: void listFocusChanged(void); void goBack(void); void loadConfig(void); - void saveConfig(void); + bool saveConfig(void); void saveConfigAs(void); void searchConfig(void); void showSingleView(void); |