Fix console not showing in debug builds

experimental
Peter Repukat 7 years ago
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…
Cancel
Save