comparison framework/MainWindowBase.cpp @ 732:c980a0300c58 background-mode

Re-enable this for testing
author Chris Cannam
date Fri, 17 Jan 2020 13:46:42 +0000
parents 16932dfaf64e
children a39538eaed9d
comparison
equal deleted inserted replaced
731:16932dfaf64e 732:c980a0300c58
209 settings.setValue("view-font-size", viewFontSize); 209 settings.setValue("view-font-size", viewFontSize);
210 settings.endGroup(); 210 settings.endGroup();
211 211
212 SVDEBUG << "MainWindowBase: View font size is " << viewFontSize << endl; 212 SVDEBUG << "MainWindowBase: View font size is " << viewFontSize << endl;
213 213
214 #ifdef NOT_DEFINED // This no longer works correctly on any platform AFAICS 214 #ifndef Q_OS_MAC
215 Preferences::BackgroundMode mode = 215 Preferences::BackgroundMode mode =
216 Preferences::getInstance()->getBackgroundMode(); 216 Preferences::getInstance()->getBackgroundMode();
217 m_initialDarkBackground = m_viewManager->getGlobalDarkBackground(); 217 m_initialDarkBackground = m_viewManager->getGlobalDarkBackground();
218 if (mode != Preferences::BackgroundFromTheme) { 218 if (mode != Preferences::BackgroundFromTheme) {
219 m_viewManager->setGlobalDarkBackground 219 m_viewManager->setGlobalDarkBackground