summaryrefslogtreecommitdiffstats
path: root/tools/runonphone/codasignalhandler.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-09-20 23:16:13 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-09-20 23:16:13 (GMT)
commit6e2a9ed7f5388ece10ffb08a52c3e22d3b058d48 (patch)
tree7d7ad331c8c5316924bd5ff3fd7e6ccb21e7cc48 /tools/runonphone/codasignalhandler.cpp
parent7b4c273df2401505fe87efdf5d1d73d75993910a (diff)
parentb81201a29a9794ed490098c8eb136464afa12b8a (diff)
downloadQt-6e2a9ed7f5388ece10ffb08a52c3e22d3b058d48.zip
Qt-6e2a9ed7f5388ece10ffb08a52c3e22d3b058d48.tar.gz
Qt-6e2a9ed7f5388ece10ffb08a52c3e22d3b058d48.tar.bz2
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team
* 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team: (36 commits) add 4.8 changes created/merged by me Fixed automatic plugin path resolving for predefined Qt plugins. Resolve a number of compilation issues with INTEGRITY runonphone: Include USB serial ports on OS X for CODA, too Update changelog for Qt 4.8.0 Fix compile issue when building with QT_NO_CONCURRENT and QT_NO_FUTURE runonphone: Implement traceswitch support for coda Fix missing clean up stack panic for a new thread in Symbian Regression in QS60Style when drawing webview scrollbars Cleanup qwidget_s60.cpp Fix panic when global QSettings instance needs flusing at app exit Fix uninitialised variable in temporary files More accurately determine bearer type for symbian GPRS/3G Add documentation for Symbian QSettings locations and security Update QDesktopServices openUrl() documentation on Symbian OS Mark binaries as SMPSAFE in Symbian Fix "sbs -c tools2 --what" output for Qt. Update environment.prf QS60Style: Make spinboxes and lineedits slightly taller runonphone: Add a missing space between a message and the file name ...
Diffstat (limited to 'tools/runonphone/codasignalhandler.cpp')
-rw-r--r--tools/runonphone/codasignalhandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/runonphone/codasignalhandler.cpp b/tools/runonphone/codasignalhandler.cpp
index 3d524dd..2de6fbc 100644
--- a/tools/runonphone/codasignalhandler.cpp
+++ b/tools/runonphone/codasignalhandler.cpp
@@ -46,6 +46,7 @@
#include <QObject>
#include <QTimer>
#include "codasignalhandler.h"
+#include "texttracehandler.h"
static const quint64 DEFAULT_CHUNK_SIZE = 40000;
@@ -173,6 +174,9 @@ int CodaSignalHandler::run()
return 1;
}
+ TextTraceHandler *traceHandler = new TextTraceHandler(
+ SymbianUtils::SymbianDeviceManager::instance()->getOstChannel(d->serialPortName, 2), this);
+
if (d->loglevel > 1) {
d->codaDevice->setVerbose(1);
}
@@ -190,6 +194,8 @@ int CodaSignalHandler::run()
d->eventLoop->exec();
int result = d->result;
reportMessage(tr("Done."));
+
+ delete traceHandler;
disconnect(d->codaDevice.data(), 0, this, 0);
SymbianUtils::SymbianDeviceManager::instance()->releaseCodaDevice(d->codaDevice);