diff options
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/qconf.cc | 28 | ||||
-rw-r--r-- | scripts/kconfig/qconf.h | 1 |
2 files changed, 0 insertions, 29 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 47cdeae8378c..5e01af2f41ac 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc | |||
@@ -963,34 +963,6 @@ void ConfigInfoView::setInfo(struct menu *m) | |||
963 | menuInfo(); | 963 | menuInfo(); |
964 | } | 964 | } |
965 | 965 | ||
966 | void ConfigInfoView::setSource(const QString& name) | ||
967 | { | ||
968 | const char *p = name.latin1(); | ||
969 | |||
970 | menu = NULL; | ||
971 | sym = NULL; | ||
972 | |||
973 | switch (p[0]) { | ||
974 | case 'm': | ||
975 | struct menu *m; | ||
976 | |||
977 | if (sscanf(p, "m%p", &m) == 1 && menu != m) { | ||
978 | menu = m; | ||
979 | menuInfo(); | ||
980 | emit menuSelected(menu); | ||
981 | } | ||
982 | break; | ||
983 | case 's': | ||
984 | struct symbol *s; | ||
985 | |||
986 | if (sscanf(p, "s%p", &s) == 1 && sym != s) { | ||
987 | sym = s; | ||
988 | symbolInfo(); | ||
989 | } | ||
990 | break; | ||
991 | } | ||
992 | } | ||
993 | |||
994 | void ConfigInfoView::symbolInfo(void) | 966 | void ConfigInfoView::symbolInfo(void) |
995 | { | 967 | { |
996 | QString str; | 968 | QString str; |
diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h index b3b5657b6b35..54775ae38250 100644 --- a/scripts/kconfig/qconf.h +++ b/scripts/kconfig/qconf.h | |||
@@ -254,7 +254,6 @@ public: | |||
254 | public slots: | 254 | public slots: |
255 | void setInfo(struct menu *menu); | 255 | void setInfo(struct menu *menu); |
256 | void saveSettings(void); | 256 | void saveSettings(void); |
257 | void setSource(const QString& name); | ||
258 | void setShowDebug(bool); | 257 | void setShowDebug(bool); |
259 | 258 | ||
260 | signals: | 259 | signals: |