From 4e17e397c6df9e4e1ac6ee8315bbbced3e3b3b49 Mon Sep 17 00:00:00 2001 From: drw Date: Sat, 29 Mar 2003 20:46:43 +0000 Subject: Move Configure option under the Actions menu, allowing me to remove the top-level menu 'Options' (which only had the Config entry under it). --- (limited to 'noncore') 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 @@ -193,17 +199,6 @@ MainWindow :: MainWindow() a->addTo( popup ); 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 ); -- cgit v0.9.0.2