aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger/qqmlprofiler.cpp
diff options
context:
space:
mode:
authorSergio Ahumada <sahumada@blackberry.com>2014-03-02 11:32:29 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-03 10:08:49 +0100
commitd286f5bf75dd67dde71f6c0366b208d564301251 (patch)
tree968c867a168efb7a9121da81fd51ecb527efde8b /src/qml/debugger/qqmlprofiler.cpp
parent5ca26a1c6166af2750fdf3c1333f1d7b389e8b85 (diff)
Prefer to use normalised signal/slot signatures
Change-Id: I9856c110399c4b6b1ea6aba2d92392cecff04656 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/debugger/qqmlprofiler.cpp')
-rw-r--r--src/qml/debugger/qqmlprofiler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/debugger/qqmlprofiler.cpp b/src/qml/debugger/qqmlprofiler.cpp
index f92d76cf5d..f25c931d63 100644
--- a/src/qml/debugger/qqmlprofiler.cpp
+++ b/src/qml/debugger/qqmlprofiler.cpp
@@ -97,10 +97,10 @@ QQmlProfilerAdapter::QQmlProfilerAdapter(QQmlProfilerService *service, QQmlEngin
connect(this, SIGNAL(profilingDisabledWhileWaiting()),
engine->profiler, SLOT(stopProfiling()), Qt::DirectConnection);
connect(this, SIGNAL(dataRequested()), engine->profiler, SLOT(reportData()));
- connect(this, SIGNAL(referenceTimeKnown(const QElapsedTimer &)),
- engine->profiler, SLOT(setTimer(const QElapsedTimer &)));
- connect(engine->profiler, SIGNAL(dataReady(const QList<QQmlProfilerData> &)),
- this, SLOT(receiveData(const QList<QQmlProfilerData> &)));
+ connect(this, SIGNAL(referenceTimeKnown(QElapsedTimer)),
+ engine->profiler, SLOT(setTimer(QElapsedTimer)));
+ connect(engine->profiler, SIGNAL(dataReady(QList<QQmlProfilerData>)),
+ this, SLOT(receiveData(QList<QQmlProfilerData>)));
}
qint64 QQmlProfilerAdapter::sendMessages(qint64 until, QList<QByteArray> &messages)