1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 16:29:43 +01:00

* Fix cross compiling with MinGW and try to unbreak the MainWindow a bit more.

This commit is contained in:
Christian Muehlhaeuser 2011-08-13 04:49:09 +02:00
parent dce31156db
commit b766f6808f
2 changed files with 4 additions and 1 deletions

View File

@ -264,7 +264,7 @@ PlaylistDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
QRect rectText = option.rect.adjusted( 66, 20, -100, -8 );
#ifdef Q_OS_MAC
rectText.adjust( 0, 1, 0, 0 );
#elif Q_OS_WIN
#elif defined Q_OS_WIN
rectText.adjust( 0, 2, 0, 0 );
#endif

View File

@ -211,7 +211,10 @@ TomahawkWindow::setupSideBar()
sidebarWidget->setContentsMargins( 0, 0, 0, 0 );
sidebarWidget->layout()->setContentsMargins( 0, 0, 0, 0 );
sidebarWidget->layout()->setMargin( 0 );
#ifndef Q_OS_MAC
sidebarWidget->layout()->setSpacing( 0 );
#endif
ui->splitter->addWidget( sidebarWidget );
ui->splitter->addWidget( ViewManager::instance()->widget() );