author | mickeyl <mickeyl> | 2003-03-03 23:54:03 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-03-03 23:54:03 (UTC) |
commit | 8173569e94a72051d80b8441e70fa1d99f79ef3e (patch) (side-by-side diff) | |
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 @@ -114,8 +114,10 @@ WellenreiterMainWindow::WellenreiterMainWindow( QWidget * parent, const char * n 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..." ); |