mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
* Fix cross compiling with MinGW and try to unbreak the MainWindow a bit more.
This commit is contained in:
@@ -264,7 +264,7 @@ PlaylistDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
|
|||||||
QRect rectText = option.rect.adjusted( 66, 20, -100, -8 );
|
QRect rectText = option.rect.adjusted( 66, 20, -100, -8 );
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
rectText.adjust( 0, 1, 0, 0 );
|
rectText.adjust( 0, 1, 0, 0 );
|
||||||
#elif Q_OS_WIN
|
#elif defined Q_OS_WIN
|
||||||
rectText.adjust( 0, 2, 0, 0 );
|
rectText.adjust( 0, 2, 0, 0 );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -211,7 +211,10 @@ TomahawkWindow::setupSideBar()
|
|||||||
sidebarWidget->setContentsMargins( 0, 0, 0, 0 );
|
sidebarWidget->setContentsMargins( 0, 0, 0, 0 );
|
||||||
sidebarWidget->layout()->setContentsMargins( 0, 0, 0, 0 );
|
sidebarWidget->layout()->setContentsMargins( 0, 0, 0, 0 );
|
||||||
sidebarWidget->layout()->setMargin( 0 );
|
sidebarWidget->layout()->setMargin( 0 );
|
||||||
|
|
||||||
|
#ifndef Q_OS_MAC
|
||||||
sidebarWidget->layout()->setSpacing( 0 );
|
sidebarWidget->layout()->setSpacing( 0 );
|
||||||
|
#endif
|
||||||
|
|
||||||
ui->splitter->addWidget( sidebarWidget );
|
ui->splitter->addWidget( sidebarWidget );
|
||||||
ui->splitter->addWidget( ViewManager::instance()->widget() );
|
ui->splitter->addWidget( ViewManager::instance()->widget() );
|
||||||
|
Reference in New Issue
Block a user