1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 22:26:32 +02:00

* Only linux seems to behave wrong here... maybe it's Oxygen-style. Need to investigate.

This commit is contained in:
Christian Muehlhaeuser
2011-09-05 11:58:07 +02:00
parent fa6579f8f0
commit 031f52f6b7

View File

@@ -54,11 +54,13 @@ ContextProxyPage::setPage( Tomahawk::ContextPage* page )
{ {
m_page = 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<QGraphicsWebView*>( page->widget() ); QGraphicsWebView* testWebView = qobject_cast<QGraphicsWebView*>( page->widget() );
if ( testWebView ) if ( testWebView )
{ {
setContentsMargins( 4, 4, 4, 4 ); setContentsMargins( 4, 4, 4, 4 );
} }
#endif
QGraphicsLinearLayout* layout = new QGraphicsLinearLayout(); QGraphicsLinearLayout* layout = new QGraphicsLinearLayout();
layout->setContentsMargins( 4, 20, 4, 4 ); layout->setContentsMargins( 4, 20, 4, 4 );