mirror of
https://github.com/Thracky/GlosSI.git
synced 2024-11-17 03:26:02 +00:00
Fix console not showing in debug builds
This commit is contained in:
parent
e18956584a
commit
e15ff00d62
@ -76,9 +76,9 @@ SteamTargetRenderer::SteamTargetRenderer(int& argc, char** argv) : QApplication(
|
|||||||
sfWindow.setActive(false);
|
sfWindow.setActive(false);
|
||||||
consoleHwnd = GetConsoleWindow(); //We need a console for a dirty hack to make sure we stay in game bindings
|
consoleHwnd = GetConsoleWindow(); //We need a console for a dirty hack to make sure we stay in game bindings
|
||||||
//QT Windows cause trouble with the overlay, so we cannot use them
|
//QT Windows cause trouble with the overlay, so we cannot use them
|
||||||
#ifndef DEBUG
|
#ifdef NDEBUG
|
||||||
ShowWindow(consoleHwnd, SW_HIDE);
|
ShowWindow(consoleHwnd, SW_HIDE);
|
||||||
#endif // DEBUG
|
#endif // NDEBUG
|
||||||
|
|
||||||
if (bEnableControllers)
|
if (bEnableControllers)
|
||||||
controllerThread.run();
|
controllerThread.run();
|
||||||
|
Loading…
Reference in New Issue
Block a user