Maybe fix the dodgy coloured tabs on mac

This commit is contained in:
David Sansome 2010-06-16 22:38:19 +00:00
parent d423d008d4
commit 2c272a3341
1 changed files with 5 additions and 0 deletions

View File

@ -150,6 +150,11 @@ MainWindow::MainWindow(NetworkAccessManager* network, Engine::Type engine, QWidg
track_position_timer_->setInterval(1000);
connect(track_position_timer_, SIGNAL(timeout()), SLOT(UpdateTrackPosition()));
#ifdef Q_OS_MAC
// For some reason this makes the tabs go a funny colour on mac
ui_->tabs->setDocumentMode(false);
#endif
// Start initialising the player
player_->Init();