Debugger: Remove obsolete condition

We don't support Windows earlier than 7.

Change-Id: I5782e65ad4e6fb1c8acd9d083ccc410133178cd5
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Orgad Shaneh
2018-09-21 02:00:43 +03:00
committed by Orgad Shaneh
parent bab836c009
commit f9da340c6b

View File

@@ -189,11 +189,7 @@ void TerminalRunner::start()
m_stubProc.setWorkingDirectory(m_stubRunnable.workingDirectory);
if (HostOsInfo::isWindowsHost()) {
// Windows up to xp needs a workaround for attaching to freshly started processes. see proc_stub_win
if (QSysInfo::WindowsVersion >= QSysInfo::WV_VISTA)
m_stubProc.setMode(ConsoleProcess::Suspend);
else
m_stubProc.setMode(ConsoleProcess::Debug);
m_stubProc.setMode(ConsoleProcess::Suspend);
} else {
m_stubProc.setMode(ConsoleProcess::Debug);
m_stubProc.setSettings(Core::ICore::settings());