author | drw <drw> | 2003-03-29 20:46:43 (UTC) |
---|---|---|
committer | drw <drw> | 2003-03-29 20:46:43 (UTC) |
commit | 4e17e397c6df9e4e1ac6ee8315bbbced3e3b3b49 (patch) (side-by-side diff) | |
tree | c2e356050c9b8b6a17f917c0e7c90c169ee1ce0d | |
parent | 4bf2c892cebbf80e825a717b6240d0377a2060ac (diff) | |
download | opie-4e17e397c6df9e4e1ac6ee8315bbbced3e3b3b49.zip opie-4e17e397c6df9e4e1ac6ee8315bbbced3e3b3b49.tar.gz opie-4e17e397c6df9e4e1ac6ee8315bbbced3e3b3b49.tar.bz2 |
Move Configure option under the Actions menu, allowing me to remove the top-level menu 'Options' (which only had the Config entry under it).
-rw-r--r-- | noncore/settings/aqpkg/mainwin.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp index 7fa311d..b597e03 100644 --- a/noncore/settings/aqpkg/mainwin.cpp +++ b/noncore/settings/aqpkg/mainwin.cpp @@ -134,6 +134,12 @@ MainWindow :: MainWindow() a->addTo( popup ); a->addTo( bar ); + popup->insertSeparator(); + + a = new QAction( tr( "Configure" ), Resource::loadPixmap( "SettingsIcon" ), QString::null, 0, this, 0 ); + a->setWhatsThis( tr( "Click here to configure this application." ) ); + connect( a, SIGNAL( activated() ), this, SLOT( displaySettings() ) ); + a->addTo( popup ); mb->insertItem( tr( "Actions" ), popup ); // View menu @@ -194,17 +200,6 @@ MainWindow :: MainWindow() mb->insertItem( tr( "View" ), popup ); - - // Options menu - popup = new QPopupMenu( this ); - - a = new QAction( tr( "Configure" ), Resource::loadPixmap( "SettingsIcon" ), QString::null, 0, this, 0 ); - a->setWhatsThis( tr( "Click here to configure this application." ) ); - connect( a, SIGNAL( activated() ), this, SLOT( displaySettings() ) ); - a->addTo( popup ); - - mb->insertItem( tr( "Options" ), popup ); - // Finish find toolbar creation a = new QAction( QString::null, Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); a->setWhatsThis( tr( "Click here to hide the find toolbar." ) ); |