summaryrefslogtreecommitdiff
path: root/src/plugins/winrt/winrtdebugsupport.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-07-07 17:20:16 +0200
committerhjk <hjk@qt.io>2017-07-11 10:53:00 +0000
commit6f0a600bcf7647493f8044f7d5d18d698e8c2fdc (patch)
tree1c54533528f712cf61135063e75151713a3faf30 /src/plugins/winrt/winrtdebugsupport.h
parent8637d04c1d1f192f024ec1a88f271a1a9f6085d6 (diff)
downloadqt-creator-6f0a600bcf7647493f8044f7d5d18d698e8c2fdc.tar.gz
Debugger: Streamline error string handling
Let the workers keep track of errors instead of passing around string pointers in some but not all interesting places. Change-Id: I3956bc947a50747dd3a0c9302b9f9873d192e9c6 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/winrt/winrtdebugsupport.h')
-rw-r--r--src/plugins/winrt/winrtdebugsupport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/winrt/winrtdebugsupport.h b/src/plugins/winrt/winrtdebugsupport.h
index 995c3a0b73..0a8ed4e31a 100644
--- a/src/plugins/winrt/winrtdebugsupport.h
+++ b/src/plugins/winrt/winrtdebugsupport.h
@@ -38,11 +38,11 @@ class WinRtDebugSupport : public Debugger::DebuggerRunTool
Q_OBJECT
public:
- WinRtDebugSupport(ProjectExplorer::RunControl *runControl, QString *errorMessage);
+ explicit WinRtDebugSupport(ProjectExplorer::RunControl *runControl);
~WinRtDebugSupport();
private:
- static bool getFreePort(Utils::Port &qmlDebuggerPort, QString *errorMessage);
+ bool getFreePort(Utils::Port &qmlDebuggerPort);
WinRtRunnerHelper *m_runner = nullptr;
};