From 031f52f6b7d80604d460b190803f0b529ae6d523 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 5 Sep 2011 11:58:07 +0200 Subject: [PATCH] * Only linux seems to behave wrong here... maybe it's Oxygen-style. Need to investigate. --- src/libtomahawk/context/ContextPage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libtomahawk/context/ContextPage.cpp b/src/libtomahawk/context/ContextPage.cpp index 2a71f5716..06347f19e 100644 --- a/src/libtomahawk/context/ContextPage.cpp +++ b/src/libtomahawk/context/ContextPage.cpp @@ -54,11 +54,13 @@ ContextProxyPage::setPage( Tomahawk::ContextPage* page ) { m_page = page; +#ifdef Q_OS_LINUX //FIXME: why do we need this? maybe it's only oxygen style misbehaving? QGraphicsWebView* testWebView = qobject_cast( page->widget() ); if ( testWebView ) { setContentsMargins( 4, 4, 4, 4 ); } +#endif QGraphicsLinearLayout* layout = new QGraphicsLinearLayout(); layout->setContentsMargins( 4, 20, 4, 4 );