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();