forked from qt-creator/qt-creator
QmlProfiler: Remove duplicate method
Change-Id: Iad8420e5836ad8bc3efc9ecf67bf85b005ede7d5 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -131,11 +131,6 @@ void QmlProfilerClientManager::clearBufferedData()
|
||||
d->qmlclientplugin.data()->clearData();
|
||||
}
|
||||
|
||||
void QmlProfilerClientManager::discardPendingData()
|
||||
{
|
||||
clearBufferedData();
|
||||
}
|
||||
|
||||
void QmlProfilerClientManager::connectTcpClient(Utils::Port port)
|
||||
{
|
||||
if (d->connection) {
|
||||
|
||||
@@ -50,7 +50,6 @@ public:
|
||||
void setLocalSocket(QString file);
|
||||
|
||||
void clearBufferedData();
|
||||
void discardPendingData();
|
||||
bool isConnected() const;
|
||||
|
||||
void setModelManager(QmlProfilerModelManager *m);
|
||||
|
||||
@@ -498,7 +498,7 @@ void QmlProfilerTool::showTimeLineSearch()
|
||||
void QmlProfilerTool::clearData()
|
||||
{
|
||||
d->m_profilerModelManager->clear();
|
||||
d->m_profilerConnections->discardPendingData();
|
||||
d->m_profilerConnections->clearBufferedData();
|
||||
setRecordedFeatures(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user