diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/qconf.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 52a03670e0db..83a270347c25 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc | |||
@@ -1317,7 +1317,7 @@ ConfigMainWindow::ConfigMainWindow(void) | |||
1317 | conf_changed(); | 1317 | conf_changed(); |
1318 | QAction *saveAsAction = new QAction("Save As...", "Save &As...", 0, this); | 1318 | QAction *saveAsAction = new QAction("Save As...", "Save &As...", 0, this); |
1319 | connect(saveAsAction, SIGNAL(activated()), SLOT(saveConfigAs())); | 1319 | connect(saveAsAction, SIGNAL(activated()), SLOT(saveConfigAs())); |
1320 | QAction *searchAction = new QAction("Search", "&Search", CTRL+Key_F, this); | 1320 | QAction *searchAction = new QAction("Find", "&Find", CTRL+Key_F, this); |
1321 | connect(searchAction, SIGNAL(activated()), SLOT(searchConfig())); | 1321 | connect(searchAction, SIGNAL(activated()), SLOT(searchConfig())); |
1322 | QAction *singleViewAction = new QAction("Single View", QPixmap(xpm_single_view), "Split View", 0, this); | 1322 | QAction *singleViewAction = new QAction("Single View", QPixmap(xpm_single_view), "Split View", 0, this); |
1323 | connect(singleViewAction, SIGNAL(activated()), SLOT(showSingleView())); | 1323 | connect(singleViewAction, SIGNAL(activated()), SLOT(showSingleView())); |
@@ -1374,10 +1374,13 @@ ConfigMainWindow::ConfigMainWindow(void) | |||
1374 | saveAction->addTo(config); | 1374 | saveAction->addTo(config); |
1375 | saveAsAction->addTo(config); | 1375 | saveAsAction->addTo(config); |
1376 | config->insertSeparator(); | 1376 | config->insertSeparator(); |
1377 | searchAction->addTo(config); | ||
1378 | config->insertSeparator(); | ||
1379 | quitAction->addTo(config); | 1377 | quitAction->addTo(config); |
1380 | 1378 | ||
1379 | // create edit menu | ||
1380 | QPopupMenu* editMenu = new QPopupMenu(this); | ||
1381 | menu->insertItem("&Edit", editMenu); | ||
1382 | searchAction->addTo(editMenu); | ||
1383 | |||
1381 | // create options menu | 1384 | // create options menu |
1382 | QPopupMenu* optionMenu = new QPopupMenu(this); | 1385 | QPopupMenu* optionMenu = new QPopupMenu(this); |
1383 | menu->insertItem("&Option", optionMenu); | 1386 | menu->insertItem("&Option", optionMenu); |