From: Flavio Tordini Date: Wed, 29 Apr 2015 11:47:37 +0000 (+0200) Subject: transition is actually used inside ifdef X-Git-Tag: 2.5~83^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0d78412840d05423c20200bf98653dde1a228e26;p=minitube transition is actually used inside ifdef --- diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 10c2734..5ddaf12 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -888,7 +888,6 @@ void MainWindow::goBack() { } void MainWindow::showWidget(QWidget* widget, bool transition) { - Q_UNUSED(transition); if (compactViewAct->isChecked()) compactViewAct->toggle(); @@ -945,6 +944,8 @@ void MainWindow::showWidget(QWidget* widget, bool transition) { // if (transition && (oldWidget != mediaView || !mediaView->getVideoArea()->isVideoShown())) if (transition) Extra::fadeInWidget(oldWidget, widget); +#else + Q_UNUSED(transition); #endif history->push(widget);