summaryrefslogtreecommitdiffstats
path: root/tools/qml/loggerwidget.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-04-21 02:02:20 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-04-21 02:02:20 (GMT)
commitf92518f6de1a13b591fb2c2037714b213bdcff89 (patch)
tree95649cb045f4b926d2ee214beaad5627b0ef7c53 /tools/qml/loggerwidget.h
parente79202be457298c48b13eef4f8c35df186216aea (diff)
downloadQt-f92518f6de1a13b591fb2c2037714b213bdcff89.zip
Qt-f92518f6de1a13b591fb2c2037714b213bdcff89.tar.gz
Qt-f92518f6de1a13b591fb2c2037714b213bdcff89.tar.bz2
Make logger widget thread safe.
Diffstat (limited to 'tools/qml/loggerwidget.h')
-rw-r--r--tools/qml/loggerwidget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qml/loggerwidget.h b/tools/qml/loggerwidget.h
index 938431c..5c4a701 100644
--- a/tools/qml/loggerwidget.h
+++ b/tools/qml/loggerwidget.h
@@ -50,7 +50,8 @@ class LoggerWidget : public QPlainTextEdit {
Q_OBJECT
public:
LoggerWidget(QWidget *parent=0);
- void append(QtMsgType type, const char *msg);
+public slots:
+ void append(const QString &msg);
protected:
void closeEvent(QCloseEvent *event);
private: