Mercurial > hg > svapp
diff framework/MainWindowBase.cpp @ 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 | 74fa499d5f3c |
children | 68ab0fe3bce4 |
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 *)),