From c402f593595f2705f8d0f73a13a08cb8bbda9421 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 21 May 2015 15:39:28 +0200 Subject: qmlprofiler: Only accept commands if we ask for them This way we can shut down the input thread after the last command and we cannot get commands before we can process them. Change-Id: Ie1583a338da9c9df0e07c9e09ce185857c5ea66d Reviewed-by: Joerg Bornemann --- tools/qmlprofiler/qmlprofilerapplication.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/qmlprofiler/qmlprofilerapplication.h') diff --git a/tools/qmlprofiler/qmlprofilerapplication.h b/tools/qmlprofiler/qmlprofilerapplication.h index d4af3b0c37..8d2cbffe7b 100644 --- a/tools/qmlprofiler/qmlprofilerapplication.h +++ b/tools/qmlprofiler/qmlprofilerapplication.h @@ -52,6 +52,9 @@ public: int exec(); bool isInteractive() const; +signals: + void readyForCommand(); + public slots: void userCommand(const QString &command); void notifyTraceStarted(); -- cgit v1.2.3