aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2014-05-05 17:34:03 +0200
committerUlf Hermann <[email protected]>2014-05-08 12:51:42 +0200
commit776b3755404e7b952882cedfeecd96669ff25206 (patch)
treeb15681d27ed4bcc2b8ddacae1213732da61ef993 /src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp
parent0ef1b78724773d50cfb9cb5cc1ccda27b6c47e14 (diff)
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 <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp b/src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp
index 23b83f49000..5501d505156 100644
--- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp
@@ -136,8 +136,6 @@ void QmlProfilerClientManager::clearBufferedData()
void QmlProfilerClientManager::discardPendingData()
{
- if (d->connection)
- d->connection->flush();
clearBufferedData();
}