summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/mainwindow.cpp
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/mainwindow.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/mainwindow.cpp b/noncore/net/wellenreiter/gui/mainwindow.cpp
index d4988af..8e0164f 100644
--- a/noncore/net/wellenreiter/gui/mainwindow.cpp
+++ b/noncore/net/wellenreiter/gui/mainwindow.cpp
@@ -17,5 +17,5 @@
17#include "logwindow.h" 17#include "logwindow.h"
18#include "hexwindow.h"
18#include "mainwindow.h" 19#include "mainwindow.h"
19#include "wellenreiter.h" 20#include "wellenreiter.h"
20
21#include "scanlist.h" 21#include "scanlist.h"
@@ -116,2 +116,3 @@ WellenreiterMainWindow::WellenreiterMainWindow( QWidget * parent, const char * n
116 QPopupMenu* file = new QPopupMenu( mb ); 116 QPopupMenu* file = new QPopupMenu( mb );
117 file->insertItem( "&New", this, SLOT( fileNew() ) );
117 id = file->insertItem( "&Load", fileLoad ); 118 id = file->insertItem( "&Load", fileLoad );
@@ -301,2 +302,9 @@ void WellenreiterMainWindow::fileLoadSession()
301 302
303void WellenreiterMainWindow::fileNew()
304{
305 mw->netView()->clear();
306 mw->logWindow()->clear();
307 mw->hexWindow()->clear();
308}
309
302void WellenreiterMainWindow::closeEvent( QCloseEvent* e ) 310void WellenreiterMainWindow::closeEvent( QCloseEvent* e )