Skip to content

Commit

Permalink
Merge PR #2933: os_win.cpp: Fix unused "mumbleMessageOutput()" functi…
Browse files Browse the repository at this point in the history
…on with Qt 5
  • Loading branch information
mkrautz committed Mar 13, 2017
2 parents 76d2ea2 + 357c30e commit 841bff8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mumble/os_win.cpp
Expand Up @@ -64,9 +64,11 @@ static void mumbleMessageOutputQString(QtMsgType type, const QString &msg) {
}
}

#if QT_VERSION < 0x050000
static void mumbleMessageOutput(QtMsgType type, const char *msg) {
mumbleMessageOutputQString(type, QString::fromUtf8(msg));
}
#endif

#if QT_VERSION >= 0x050000
static void mumbleMessageOutputWithContext(QtMsgType type, const QMessageLogContext &ctx, const QString &msg) {
Expand Down

0 comments on commit 841bff8

Please sign in to comment.