set sidebar AutoFillBackground to false in native shell mode. This fixes okular background when running as a standalone application.

svn path=/trunk/KDE/kdegraphics/okular/; revision=1082641
This commit is contained in:
Hugo Pereira Da Costa 2010-01-31 01:34:24 +00:00
parent d0615f7286
commit 0684d5232a

View file

@ -612,6 +612,9 @@ m_cliPresentation(false), m_embedMode(detectEmbedMode(parentWidget, parent, args
if ( m_embedMode != PrintPreviewMode )
unsetDummyMode();
if ( m_embedMode == NativeShellMode )
m_sidebar->setAutoFillBackground( false );
#ifdef OKULAR_KEEP_FILE_OPEN
m_keeper = new FileKeeper();
#endif