Update main.cpp

This commit is contained in:
cmclark00 2024-08-14 17:44:37 -04:00 committed by GitHub
parent 0c061828dd
commit 1c0521ec2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -257,7 +257,7 @@ int main(int argc, char *argv[])
{
freopen("CONOUT$", "w", stdout);
freopen("CONOUT$", "w", stderr);
std::ios::sync_with_stdio();
std::ios_base::sync_with_stdio(false);
qInstallMessageHandler(consoleMsgHandler);
}
#endif