forked from qt-creator/qt-creator
Fixed compilation issue on Mac.
This commit is contained in:
@@ -236,10 +236,6 @@ void FancyTabBar::paintTab(QPainter *painter, int tabIndex) const
|
|||||||
bool selected = (tabIndex == m_currentIndex);
|
bool selected = (tabIndex == m_currentIndex);
|
||||||
bool enabled = isTabEnabled(tabIndex);
|
bool enabled = isTabEnabled(tabIndex);
|
||||||
|
|
||||||
#ifdef Q_WS_MAC
|
|
||||||
hover = false; // Do not hover on Mac
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (selected) {
|
if (selected) {
|
||||||
//background
|
//background
|
||||||
painter->save();
|
painter->save();
|
||||||
|
|||||||
Reference in New Issue
Block a user