author | mickeyl <mickeyl> | 2003-03-03 23:54:03 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-03-03 23:54:03 (UTC) |
commit | 8173569e94a72051d80b8441e70fa1d99f79ef3e (patch) (unidiff) | |
tree | 725b67bbee90a0deebb5177f58329cf23ee21baf | |
parent | 3688aa2cd692e3226f67a599daea99e35a36036f (diff) | |
download | opie-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
-rw-r--r-- | noncore/net/wellenreiter/gui/mainwindow.cpp | 2 |
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 | |||
@@ -112,12 +112,14 @@ WellenreiterMainWindow::WellenreiterMainWindow( QWidget * parent, const char * n | |||
112 | fileLoad->insertItem( "&Session...", this, SLOT( fileLoadSession() ) ); | 112 | fileLoad->insertItem( "&Session...", this, SLOT( fileLoadSession() ) ); |
113 | //fileLoad->insertItem( "&Log", this, SLOT( fileLoadLog() ) ); | 113 | //fileLoad->insertItem( "&Log", this, SLOT( fileLoadLog() ) ); |
114 | 114 | ||
115 | QPopupMenu* file = new QPopupMenu( mb ); | 115 | QPopupMenu* file = new QPopupMenu( mb ); |
116 | id = file->insertItem( "&Load", fileLoad ); | 116 | id = file->insertItem( "&Load", fileLoad ); |
117 | file->insertItem( "&Save", fileSave ); | 117 | file->insertItem( "&Save", fileSave ); |
118 | file->insertSeparator(); | ||
119 | file->insertItem( "&Exit", qApp, SLOT( quit() ) ); | ||
118 | 120 | ||
119 | QPopupMenu* view = new QPopupMenu( mb ); | 121 | QPopupMenu* view = new QPopupMenu( mb ); |
120 | view->insertItem( "&Configure..." ); | 122 | view->insertItem( "&Configure..." ); |
121 | 123 | ||
122 | QPopupMenu* sniffer = new QPopupMenu( mb ); | 124 | QPopupMenu* sniffer = new QPopupMenu( mb ); |
123 | sniffer->insertItem( "&Configure..." ); | 125 | sniffer->insertItem( "&Configure..." ); |