Skip to content

Commit

Permalink
Merge PR #2816: LCD: drop workaround for Qt >= 5.6.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrautz committed Feb 5, 2017
2 parents b817d3f + 7a0790b commit 78ff4fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mumble/LCD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ LCD::LCD() : QObject() {
}
qiLogo = QIcon(QLatin1String("skin:mumble.svg")).pixmap(48,48).toImage().convertToFormat(QImage::Format_MonoLSB);

#if QT_VERSION >= 0x050600
#if QT_VERSION >= 0x050600 && QT_VERSION <= 0x050601
// Don't invert the logo image when using Qt 5.6.
// See mumble-voip/mumble#2429
#else
Expand Down Expand Up @@ -250,7 +250,7 @@ void LCD::updateUserView() {
QPainter painter(img);
painter.setRenderHints(QPainter::Antialiasing | QPainter::TextAntialiasing, false);

#if QT_VERSION >= 0x050600
#if QT_VERSION >= 0x050600 && QT_VERSION <= 0x050601
// Use Qt::white instead of Qt::color1 on Qt 5.6.
// See mumble-voip/mumble#2429
painter.setPen(Qt::white);
Expand Down

0 comments on commit 78ff4fc

Please sign in to comment.