undo commit of wrong file

This commit is contained in:
WarmUpTill 2017-10-29 00:37:25 +02:00 committed by GitHub
parent ff013b477c
commit f7dd5e7aff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,6 @@
#include "utility.hpp"
#include "advanced-scene-switcher.hpp"
using namespace std;
SwitcherData* switcher = nullptr;
@ -185,7 +184,7 @@ SceneSwitcher::SceneSwitcher(QWidget* parent)
if (s.delay * 1000 < smallestDelay)
smallestDelay = s.delay * 1000;
}
(smallestDelay < switcher->interval) ? ui->intervalWarning : ui->intervalWarning->setVisible(false);
(smallestDelay < switcher->interval) ? ui->intervalWarning->setVisible(true) : ui->intervalWarning->setVisible(false);
for (auto& s : switcher->sceneTransitions)
{