QmlProfiler: Simplify QmlProfilerClientManagerPrivate

Change-Id: Ib43417ef11ba9d052869e5088dd4c0cc551261c6
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
hjk
2013-08-29 19:04:29 +02:00
parent d66369e21d
commit 87a0f018ed

View File

@@ -48,11 +48,10 @@ using namespace Core;
namespace QmlProfiler { namespace QmlProfiler {
namespace Internal { namespace Internal {
class QmlProfilerClientManager::QmlProfilerClientManagerPrivate { class QmlProfilerClientManager::QmlProfilerClientManagerPrivate
{
public: public:
QmlProfilerClientManagerPrivate(QmlProfilerClientManager *qq) { Q_UNUSED(qq); } QmlProfilerStateManager *profilerState;
QmlProfilerStateManager* profilerState;
QmlDebugConnection *connection; QmlDebugConnection *connection;
QPointer<QmlProfilerTraceClient> qmlclientplugin; QPointer<QmlProfilerTraceClient> qmlclientplugin;
@@ -77,7 +76,7 @@ public:
}; };
QmlProfilerClientManager::QmlProfilerClientManager(QObject *parent) : QmlProfilerClientManager::QmlProfilerClientManager(QObject *parent) :
QObject(parent), d(new QmlProfilerClientManagerPrivate(this)) QObject(parent), d(new QmlProfilerClientManagerPrivate)
{ {
setObjectName(QLatin1String("QML Profiler Connections")); setObjectName(QLatin1String("QML Profiler Connections"));