From: Flavio Tordini Date: Wed, 29 Jul 2009 08:50:14 +0000 (+0200) Subject: view crossfades only on the Mac X-Git-Tag: 0.5~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=82337640946dc5b3be9fd42345003f2114507c3e;p=minitube view crossfades only on the Mac --- diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 668767a..3123eda 100755 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -348,7 +348,13 @@ void MainWindow::showWidget ( QWidget* widget ) { mainToolBar->setVisible(widget == mediaView && !compactViewAct->isChecked()); history->push(widget); + +#ifdef Q_WS_MAC + // crossfade only on OSX + // where we can be sure of video performance fadeInWidget(views->currentWidget(), widget); +#endif + views->setCurrentWidget(widget); setUpdatesEnabled(true);