changeset 511:14a81e881b1a 3.0-integration

Remove background mode, it no longer works properly
author Chris Cannam
date Tue, 19 Jan 2016 16:29:57 +0000
parents 39e94df71d24
children aecd5bdfc71f
files framework/MainWindowBase.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Wed Oct 14 13:34:46 2015 +0100
+++ b/framework/MainWindowBase.cpp	Tue Jan 19 16:29:57 2016 +0000
@@ -196,6 +196,7 @@
     settings.setValue("view-font-size", viewFontSize);
     settings.endGroup();
 
+#ifdef NOT_DEFINED // This no longer works correctly on any platform AFAICS
     Preferences::BackgroundMode mode =
         Preferences::getInstance()->getBackgroundMode();
     m_initialDarkBackground = m_viewManager->getGlobalDarkBackground();
@@ -203,6 +204,7 @@
         m_viewManager->setGlobalDarkBackground
             (mode == Preferences::DarkBackground);
     }
+#endif
 
     m_paneStack = new PaneStack(0, m_viewManager);
     connect(m_paneStack, SIGNAL(currentPaneChanged(Pane *)),