author | drw <drw> | 2003-03-29 20:46:43 (UTC) |
---|---|---|
committer | drw <drw> | 2003-03-29 20:46:43 (UTC) |
commit | 4e17e397c6df9e4e1ac6ee8315bbbced3e3b3b49 (patch) (unidiff) | |
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 | |||
@@ -135,4 +135,10 @@ MainWindow :: MainWindow() | |||
135 | a->addTo( bar ); | 135 | a->addTo( bar ); |
136 | 136 | ||
137 | popup->insertSeparator(); | ||
138 | |||
139 | a = new QAction( tr( "Configure" ), Resource::loadPixmap( "SettingsIcon" ), QString::null, 0, this, 0 ); | ||
140 | a->setWhatsThis( tr( "Click here to configure this application." ) ); | ||
141 | connect( a, SIGNAL( activated() ), this, SLOT( displaySettings() ) ); | ||
142 | a->addTo( popup ); | ||
137 | mb->insertItem( tr( "Actions" ), popup ); | 143 | mb->insertItem( tr( "Actions" ), popup ); |
138 | 144 | ||
@@ -194,15 +200,4 @@ MainWindow :: MainWindow() | |||
194 | 200 | ||
195 | mb->insertItem( tr( "View" ), popup ); | 201 | mb->insertItem( tr( "View" ), popup ); |
196 | |||
197 | |||
198 | // Options menu | ||
199 | popup = new QPopupMenu( this ); | ||
200 | |||
201 | a = new QAction( tr( "Configure" ), Resource::loadPixmap( "SettingsIcon" ), QString::null, 0, this, 0 ); | ||
202 | a->setWhatsThis( tr( "Click here to configure this application." ) ); | ||
203 | connect( a, SIGNAL( activated() ), this, SLOT( displaySettings() ) ); | ||
204 | a->addTo( popup ); | ||
205 | |||
206 | mb->insertItem( tr( "Options" ), popup ); | ||
207 | 202 | ||
208 | // Finish find toolbar creation | 203 | // Finish find toolbar creation |