Diffstat (limited to 'noncore/net/wellenreiter/gui/logwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/logwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/logwindow.cpp b/noncore/net/wellenreiter/gui/logwindow.cpp index f132f56..55e2ccb 100644 --- a/noncore/net/wellenreiter/gui/logwindow.cpp +++ b/noncore/net/wellenreiter/gui/logwindow.cpp @@ -33,10 +33,15 @@ void MLogWindow::log( QString text ) line.sprintf( "[%s] %s", (const char*) time.toString(), (const char*) text ); ledit->append( line ); qDebug( line ); } +void MLogWindow::clear() +{ + ledit->clear(); +} + const QString MLogWindow::getLog() const { return ledit->text(); } |