aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlprofiler/qmlprofilerapplication.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-05-21 15:39:28 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-06-06 15:20:33 +0000
commitc402f593595f2705f8d0f73a13a08cb8bbda9421 (patch)
treee2980f3b318b51a98ee0758b2ad1f8383f67fc82 /tools/qmlprofiler/qmlprofilerapplication.h
parent8555cdecd66444b07ab09b1644cb42fcb572dd76 (diff)
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 <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'tools/qmlprofiler/qmlprofilerapplication.h')
-rw-r--r--tools/qmlprofiler/qmlprofilerapplication.h3
1 files changed, 3 insertions, 0 deletions
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();