mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Only linux seems to behave wrong here... maybe it's Oxygen-style. Need to investigate.
This commit is contained in:
@@ -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 );
|
||||||
|
Reference in New Issue
Block a user