Skip to content

Commit

Permalink
avoid compiler warning with Qt-5.5
Browse files Browse the repository at this point in the history
in DEBUG builds on Windows, due unhandled case QtInfoMsg
  • Loading branch information
Jojo-Schmitz committed Jul 20, 2015
1 parent 336e96d commit 1b495c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mscore/musescore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2257,6 +2257,8 @@ static void mscoreMessageHandler(QtMsgType type, const QMessageLogContext &conte
case QtFatalMsg: // set your breakpoint here, if you want to catch the abort
cerr << "Fatal: " << localMsg.constData() << " (" << context.file << ":" << context.line << ", " << context.function << ")" << endl;
abort();
default:
break;
}
}
#endif
Expand Down

0 comments on commit 1b495c3

Please sign in to comment.