]> git.sur5r.net Git - minitube/commitdiff
view crossfades only on the Mac
authorFlavio Tordini <flavio.tordini@gmail.com>
Wed, 29 Jul 2009 08:50:14 +0000 (10:50 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Wed, 29 Jul 2009 08:50:14 +0000 (10:50 +0200)
src/MainWindow.cpp

index 668767a2db7f3072c26034b512982ed9af05e0e8..3123eda0356a5b7027ce0a771d7a8d328041eeab 100755 (executable)
@@ -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);