summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-03-03 23:54:03 (UTC)
committer mickeyl <mickeyl>2003-03-03 23:54:03 (UTC)
commit8173569e94a72051d80b8441e70fa1d99f79ef3e (patch) (side-by-side diff)
tree725b67bbee90a0deebb5177f58329cf23ee21baf
parent3688aa2cd692e3226f67a599daea99e35a36036f (diff)
downloadopie-8173569e94a72051d80b8441e70fa1d99f79ef3e.zip
opie-8173569e94a72051d80b8441e70fa1d99f79ef3e.tar.gz
opie-8173569e94a72051d80b8441e70fa1d99f79ef3e.tar.bz2
add exit to file menu (not that someone would want to exit this fine app... :-D
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/mainwindow.cpp b/noncore/net/wellenreiter/gui/mainwindow.cpp
index 9065351..1185f84 100644
--- a/noncore/net/wellenreiter/gui/mainwindow.cpp
+++ b/noncore/net/wellenreiter/gui/mainwindow.cpp
@@ -106,24 +106,26 @@ WellenreiterMainWindow::WellenreiterMainWindow( QWidget * parent, const char * n
QPopupMenu* fileSave = new QPopupMenu( mb );
fileSave->insertItem( "&Session...", this, SLOT( fileSaveSession() ) );
fileSave->insertItem( "&Log...", this, SLOT( fileSaveLog() ) );
QPopupMenu* fileLoad = new QPopupMenu( mb );
fileLoad->insertItem( "&Session...", this, SLOT( fileLoadSession() ) );
//fileLoad->insertItem( "&Log", this, SLOT( fileLoadLog() ) );
QPopupMenu* file = new QPopupMenu( mb );
id = file->insertItem( "&Load", fileLoad );
file->insertItem( "&Save", fileSave );
+ file->insertSeparator();
+ file->insertItem( "&Exit", qApp, SLOT( quit() ) );
QPopupMenu* view = new QPopupMenu( mb );
view->insertItem( "&Configure..." );
QPopupMenu* sniffer = new QPopupMenu( mb );
sniffer->insertItem( "&Configure..." );
sniffer->insertSeparator();
QPopupMenu* demo = new QPopupMenu( mb );
demo->insertItem( "&Add something", this, SLOT( demoAddStations() ) );
id = mb->insertItem( "&File", file );