Diffstat (limited to 'noncore/net/wellenreiter/gui/mainwindow.cpp') (more/less context) (show whitespace changes)
-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 | |||
@@ -106,24 +106,26 @@ WellenreiterMainWindow::WellenreiterMainWindow( QWidget * parent, const char * n | |||
106 | 106 | ||
107 | QPopupMenu* fileSave = new QPopupMenu( mb ); | 107 | QPopupMenu* fileSave = new QPopupMenu( mb ); |
108 | fileSave->insertItem( "&Session...", this, SLOT( fileSaveSession() ) ); | 108 | fileSave->insertItem( "&Session...", this, SLOT( fileSaveSession() ) ); |
109 | fileSave->insertItem( "&Log...", this, SLOT( fileSaveLog() ) ); | 109 | fileSave->insertItem( "&Log...", this, SLOT( fileSaveLog() ) ); |
110 | 110 | ||
111 | QPopupMenu* fileLoad = new QPopupMenu( mb ); | 111 | QPopupMenu* fileLoad = new QPopupMenu( mb ); |
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..." ); |
124 | sniffer->insertSeparator(); | 126 | sniffer->insertSeparator(); |
125 | 127 | ||
126 | QPopupMenu* demo = new QPopupMenu( mb ); | 128 | QPopupMenu* demo = new QPopupMenu( mb ); |
127 | demo->insertItem( "&Add something", this, SLOT( demoAddStations() ) ); | 129 | demo->insertItem( "&Add something", this, SLOT( demoAddStations() ) ); |
128 | 130 | ||
129 | id = mb->insertItem( "&File", file ); | 131 | id = mb->insertItem( "&File", file ); |