forked from osmocom/wireshark
Add a version check to our splitter styling.
According to https://bugreports.qt.io/browse/QTBUG-43425 the OS X splitter rendering issue will be fixed in Qt 5.6. Change-Id: I99e000d96f8f61cd654be3808fd79577bac11d88 Reviewed-on: https://code.wireshark.org/review/10381 Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
f5ac9f55c4
commit
a69a515f28
|
@ -616,7 +616,7 @@ WiresharkApplication::WiresharkApplication(int &argc, char **argv) :
|
||||||
|
|
||||||
// Application-wide style sheet
|
// Application-wide style sheet
|
||||||
QString app_style_sheet = qApp->styleSheet();
|
QString app_style_sheet = qApp->styleSheet();
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC) && QT_VERSION < QT_VERSION_CHECK(5, 6, 0)
|
||||||
// Qt uses the HITheme API to draw splitters. In recent versions of OS X
|
// Qt uses the HITheme API to draw splitters. In recent versions of OS X
|
||||||
// this looks particularly bad: https://bugreports.qt.io/browse/QTBUG-43425
|
// this looks particularly bad: https://bugreports.qt.io/browse/QTBUG-43425
|
||||||
// This doesn't look native but it looks better than Yosemite's bit-rotten
|
// This doesn't look native but it looks better than Yosemite's bit-rotten
|
||||||
|
|
Loading…
Reference in New Issue