aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger/qqmldebug.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-07-02 09:51:04 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-07-02 08:23:28 +0000
commit33f6e267ad2fc4aeb50a5a91bc55279536608a8c (patch)
tree3c8244b6363e58d53f2c24e3c272f0d965397614 /src/qml/debugger/qqmldebug.h
parent9d0e702b1f29c8120f2000e1558a7b040311d8c0 (diff)
Use QQmlDebuggingEnabler::StartMode in connectToLocalDebugger
This unifies the API and gets rid of an ambiguous bool parameter. Change-Id: If9d8906f9cd366cf37bd1bdded7fbd6c62146e32 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/debugger/qqmldebug.h')
-rw-r--r--src/qml/debugger/qqmldebug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/debugger/qqmldebug.h b/src/qml/debugger/qqmldebug.h
index 58afa004a0..5d65982a49 100644
--- a/src/qml/debugger/qqmldebug.h
+++ b/src/qml/debugger/qqmldebug.h
@@ -50,7 +50,8 @@ struct Q_QML_EXPORT QQmlDebuggingEnabler
QQmlDebuggingEnabler(bool printWarning = true);
static bool startTcpDebugServer(int port, StartMode mode = DoNotWaitForClient,
const QString &hostName = QString());
- static bool connectToLocalDebugger(const QString &socketFileName, bool block = false);
+ static bool connectToLocalDebugger(const QString &socketFileName,
+ StartMode mode = DoNotWaitForClient);
};
// Execute code in constructor before first QQmlEngine is instantiated