summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/logwindow.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/wellenreiter/gui/logwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/logwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/logwindow.cpp b/noncore/net/wellenreiter/gui/logwindow.cpp
index 12f74fd..6078fa2 100644
--- a/noncore/net/wellenreiter/gui/logwindow.cpp
+++ b/noncore/net/wellenreiter/gui/logwindow.cpp
@@ -18,4 +18,6 @@
#include <qdatetime.h>
+MLogWindow* MLogWindow::_instance;
+
MLogWindow::MLogWindow( QWidget * parent, const char * name, WFlags f )
:QVBox( parent, name, f )
@@ -23,4 +25,6 @@ MLogWindow::MLogWindow( QWidget * parent, const char * name, WFlags f )
ledit = new QMultiLineEdit( this );
ledit->setReadOnly( true );
+
+ MLogWindow::_instance = this;
}