Mercurial > hg > svgui
comparison view/ViewManager.cpp @ 737:0c1ef0d05c82 tonioni
Explicitly avoid doing this on Mac (so as to rule it out in investigating toolbar problems)
author | Chris Cannam |
---|---|
date | Thu, 06 Mar 2014 10:57:29 +0000 |
parents | f831ca41d4a5 |
children | 56ba2b03508e |
comparison
equal
deleted
inserted
replaced
735:1640a7c753cc | 737:0c1ef0d05c82 |
---|---|
668 m_darkPalette = QApplication::palette(); | 668 m_darkPalette = QApplication::palette(); |
669 } else { | 669 } else { |
670 m_lightPalette = QApplication::palette(); | 670 m_lightPalette = QApplication::palette(); |
671 } | 671 } |
672 | 672 |
673 #ifndef Q_OS_MAC | |
673 if (dark) { | 674 if (dark) { |
674 QApplication::setPalette(m_darkPalette); | 675 QApplication::setPalette(m_darkPalette); |
675 } else { | 676 } else { |
676 QApplication::setPalette(m_lightPalette); | 677 QApplication::setPalette(m_lightPalette); |
677 } | 678 } |
679 #endif | |
678 } | 680 } |
679 | 681 |
680 bool | 682 bool |
681 ViewManager::getGlobalDarkBackground() const | 683 ViewManager::getGlobalDarkBackground() const |
682 { | 684 { |