From 0d78412840d05423c20200bf98653dde1a228e26 Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Wed, 29 Apr 2015 13:47:37 +0200 Subject: [PATCH] transition is actually used inside ifdef --- src/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.5