QmlProfiler: Remove duplicate method

Change-Id: Iad8420e5836ad8bc3efc9ecf67bf85b005ede7d5
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2016-05-23 16:14:25 +02:00
parent 105f0e963f
commit 5ee38fda5b
3 changed files with 1 additions and 7 deletions

View File

@@ -131,11 +131,6 @@ void QmlProfilerClientManager::clearBufferedData()
d->qmlclientplugin.data()->clearData();
}
void QmlProfilerClientManager::discardPendingData()
{
clearBufferedData();
}
void QmlProfilerClientManager::connectTcpClient(Utils::Port port)
{
if (d->connection) {

View File

@@ -50,7 +50,6 @@ public:
void setLocalSocket(QString file);
void clearBufferedData();
void discardPendingData();
bool isConnected() const;
void setModelManager(QmlProfilerModelManager *m);

View File

@@ -498,7 +498,7 @@ void QmlProfilerTool::showTimeLineSearch()
void QmlProfilerTool::clearData()
{
d->m_profilerModelManager->clear();
d->m_profilerConnections->discardPendingData();
d->m_profilerConnections->clearBufferedData();
setRecordedFeatures(0);
}