mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
Format code & mention issue #6
This commit is contained in:
parent
d1332c9380
commit
3bd194f3a4
@ -30,7 +30,7 @@
|
|||||||
#include <Misc/ModuleManager.h>
|
#include <Misc/ModuleManager.h>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
#include <windows.h>
|
# include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -66,7 +66,8 @@ int main(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
// Fix console output on Windows
|
// Fix console output on Windows
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (AttachConsole(ATTACH_PARENT_PROCESS)) {
|
if (AttachConsole(ATTACH_PARENT_PROCESS))
|
||||||
|
{
|
||||||
freopen("CONOUT$", "w", stdout);
|
freopen("CONOUT$", "w", stdout);
|
||||||
freopen("CONOUT$", "w", stderr);
|
freopen("CONOUT$", "w", stderr);
|
||||||
qDebug() << "";
|
qDebug() << "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user