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 @@ -136,2 +136,8 @@ MainWindow :: MainWindow() + 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 ); @@ -195,13 +201,2 @@ 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 ); |