summaryrefslogtreecommitdiff
Unidiff
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
@@ -102,32 +102,34 @@ WellenreiterMainWindow::WellenreiterMainWindow( QWidget * parent, const char * n
102 102
103 int id; 103 int id;
104 104
105 QMenuBar* mb = menuBar(); 105 QMenuBar* mb = menuBar();
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 );
130 id = mb->insertItem( "&View", view ); 132 id = mb->insertItem( "&View", view );
131 mb->setItemEnabled( id, false ); 133 mb->setItemEnabled( id, false );
132 id = mb->insertItem( "&Sniffer", sniffer ); 134 id = mb->insertItem( "&Sniffer", sniffer );
133 mb->setItemEnabled( id, false ); 135 mb->setItemEnabled( id, false );