QmlDebugClient: make QmlDebugConnection::flush() private

There is no reason for any external class to access that. If the call
to flush() from the qml profiler had any effect then it hid a bug that
should be fixed.

Change-Id: I8f655733bd3bff808653cd56b1904aa87c31f6c0
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Ulf Hermann
2014-05-05 17:34:03 +02:00
parent 0ef1b78724
commit 776b375540
3 changed files with 6 additions and 8 deletions

View File

@@ -136,8 +136,6 @@ void QmlProfilerClientManager::clearBufferedData()
void QmlProfilerClientManager::discardPendingData()
{
if (d->connection)
d->connection->flush();
clearBufferedData();
}