# HG changeset patch # User Chris Cannam # Date 1394103449 0 # Node ID 0c1ef0d05c827cdbca6c746e815f8350777ade07 # Parent 1640a7c753cc8e85eea64286d7f5d218b6795d21 Explicitly avoid doing this on Mac (so as to rule it out in investigating toolbar problems) diff -r 1640a7c753cc -r 0c1ef0d05c82 view/ViewManager.cpp --- a/view/ViewManager.cpp Thu Mar 06 09:43:18 2014 +0000 +++ b/view/ViewManager.cpp Thu Mar 06 10:57:29 2014 +0000 @@ -670,11 +670,13 @@ m_lightPalette = QApplication::palette(); } +#ifndef Q_OS_MAC if (dark) { QApplication::setPalette(m_darkPalette); } else { QApplication::setPalette(m_lightPalette); } +#endif } bool