Skip to content

Commit

Permalink
Merge pull request #593 from default-kramer/1.12
Browse files Browse the repository at this point in the history
Fix console output on Windows
  • Loading branch information
daschuer committed May 25, 2015
2 parents 3216f23 + d2b1cb8 commit eabed6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ void MessageHandler(QtMsgType type,

int main(int argc, char * argv[])
{
Console console;

#ifdef Q_OS_LINUX
XInitThreads();
Expand Down Expand Up @@ -248,8 +249,6 @@ int main(int argc, char * argv[])
return(0);
}

Console console();

#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
qInstallMsgHandler(MessageHandler);
#else
Expand Down

0 comments on commit eabed6b

Please sign in to comment.