aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/appoutputpane.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-05-06 16:26:55 +0200
committerhjk <hjk@qt.io>2022-05-09 13:24:12 +0000
commit0a875d40ba9a518a2bbc81f5c30075f25566e0fa (patch)
tree00b98ea355af84f170747fb4cf6656425a226747 /src/plugins/projectexplorer/appoutputpane.cpp
parent026126eed04443d427b297787e6cd6036d03a3a9 (diff)
ProjectExplorer: Always compile WinDebugInterface
Makes it easier to re-shuffle calling code on non-Windows. Change-Id: Ia6d7e313e9eb42fc7b19a469c1a6f33d226d1e88 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/projectexplorer/appoutputpane.cpp')
-rw-r--r--src/plugins/projectexplorer/appoutputpane.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp
index d7bba925f1..380ec9f071 100644
--- a/src/plugins/projectexplorer/appoutputpane.cpp
+++ b/src/plugins/projectexplorer/appoutputpane.cpp
@@ -794,14 +794,12 @@ void AppOutputPane::slotRunControlFinished2(RunControl *sender)
ProjectExplorerPlugin::updateRunActions();
-#ifdef Q_OS_WIN
const bool isRunning = Utils::anyOf(m_runControlTabs, [](const RunControlTab &rt) {
return rt.runControl && rt.runControl->isRunning();
});
- if (!isRunning)
- WinDebugInterface::instance()->stop();
-#endif
+ if (!isRunning)
+ WinDebugInterface::stop();
}
bool AppOutputPane::canNext() const