From 408ac55741a09df1f3e8db651d2574b594b9b313 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 10 Sep 2015 14:53:39 +0200 Subject: [PATCH] QmlProfiler: Remove OST connection mode Whatever that is, it definitely didn't work. Change-Id: Ib15b9dcad6e22d52285a253b234989e55d817268 Reviewed-by: Joerg Bornemann --- src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp | 12 ------------ src/plugins/qmlprofiler/qmlprofilerclientmanager.h | 2 -- 2 files changed, 14 deletions(-) diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp b/src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp index 5c0d5313ed7..29fd507207b 100644 --- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp @@ -59,13 +59,8 @@ public: QTimer connectionTimer; int connectionAttempts; - enum ConnectMode { - TcpConnection, OstConnection - }; - ConnectMode connectMode; QString tcpHost; quint64 tcpPort; - QString ostDevice; QString sysroot; quint32 flushInterval; @@ -115,17 +110,10 @@ void QmlProfilerClientManager::setFlushInterval(quint32 flushInterval) void QmlProfilerClientManager::setTcpConnection(QString host, quint64 port) { - d->connectMode = QmlProfilerClientManagerPrivate::TcpConnection; d->tcpHost = host; d->tcpPort = port; } -void QmlProfilerClientManager::setOstConnection(QString ostDevice) -{ - d->connectMode = QmlProfilerClientManagerPrivate::OstConnection; - d->ostDevice = ostDevice; -} - void QmlProfilerClientManager::clearBufferedData() { if (d->qmlclientplugin) diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h index ee62dec0790..4f878b2485c 100644 --- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h +++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h @@ -50,9 +50,7 @@ public: ~QmlProfilerClientManager(); void registerProfilerStateManager(QmlProfilerStateManager *profilerState); - void setTcpConnection(QString host, quint64 port); - void setOstConnection(QString ostDevice); void clearBufferedData(); void discardPendingData();