diff options
-rw-r--r-- | scripts/kconfig/qconf.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 5d0fd38b089b..2bd6ed021aac 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc | |||
@@ -920,7 +920,7 @@ void ConfigView::updateListAll(void) | |||
920 | } | 920 | } |
921 | 921 | ||
922 | ConfigInfoView::ConfigInfoView(QWidget* parent, const char *name) | 922 | ConfigInfoView::ConfigInfoView(QWidget* parent, const char *name) |
923 | : Parent(parent, name), menu(0), sym(0) | 923 | : Parent(parent, name), sym(0), menu(0) |
924 | { | 924 | { |
925 | if (name) { | 925 | if (name) { |
926 | configSettings->beginGroup(name); | 926 | configSettings->beginGroup(name); |
@@ -1524,6 +1524,8 @@ void ConfigMainWindow::setMenuLink(struct menu *menu) | |||
1524 | case fullMode: | 1524 | case fullMode: |
1525 | list = configList; | 1525 | list = configList; |
1526 | break; | 1526 | break; |
1527 | default: | ||
1528 | break; | ||
1527 | } | 1529 | } |
1528 | 1530 | ||
1529 | if (list) { | 1531 | if (list) { |
@@ -1673,6 +1675,9 @@ void ConfigMainWindow::saveSettings(void) | |||
1673 | case fullMode : | 1675 | case fullMode : |
1674 | entry = "full"; | 1676 | entry = "full"; |
1675 | break; | 1677 | break; |
1678 | |||
1679 | default: | ||
1680 | break; | ||
1676 | } | 1681 | } |
1677 | configSettings->writeEntry("/listMode", entry); | 1682 | configSettings->writeEntry("/listMode", entry); |
1678 | 1683 | ||