Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204840
b: refs/heads/master
c: 120d63e
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Michal Marek committed Jun 2, 2010
1 parent 40f5054 commit b9e1518
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 30 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c1f96f091ee146836dd73ecce531f8e0a170cfca
refs/heads/master: 120d63e63319aceea5d127f0de93bd7fe1cbaba1
28 changes: 0 additions & 28 deletions trunk/scripts/kconfig/qconf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -963,34 +963,6 @@ void ConfigInfoView::setInfo(struct menu *m)
menuInfo();
}

void ConfigInfoView::setSource(const QString& name)
{
const char *p = name.latin1();

menu = NULL;
sym = NULL;

switch (p[0]) {
case 'm':
struct menu *m;

if (sscanf(p, "m%p", &m) == 1 && menu != m) {
menu = m;
menuInfo();
emit menuSelected(menu);
}
break;
case 's':
struct symbol *s;

if (sscanf(p, "s%p", &s) == 1 && sym != s) {
sym = s;
symbolInfo();
}
break;
}
}

void ConfigInfoView::symbolInfo(void)
{
QString str;
Expand Down
1 change: 0 additions & 1 deletion trunk/scripts/kconfig/qconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ class ConfigInfoView : public QTextBrowser {
public slots:
void setInfo(struct menu *menu);
void saveSettings(void);
void setSource(const QString& name);
void setShowDebug(bool);

signals:
Expand Down

0 comments on commit b9e1518

Please sign in to comment.