diff --git a/src/main/filter.cpp b/src/main/filter.cpp index 581d0750..2384c10c 100644 --- a/src/main/filter.cpp +++ b/src/main/filter.cpp @@ -27,14 +27,9 @@ // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "filter.h" -#include #include #include -#ifdef QT_DEBUG - #include "private/qabstractanimation_p.h" -#endif - filter::filter(QObject *parent) : QObject(parent) { @@ -91,21 +86,6 @@ bool filter::eventFilter(QObject *obj, QEvent *ev) { case QEvent::KeyRelease: { QKeyEvent *ke = static_cast(ev); -#ifdef QT_DEBUG - if(ke->key() == Qt::Key_F9){ - QUnifiedTimer::instance()->setSlowModeEnabled(true); - QUnifiedTimer::instance()->setSlowdownFactor(10); - qDebug() << "Slow animations enabled"; - } - - if(ke->key() == Qt::Key_F10){ - QUnifiedTimer::instance()->setSlowModeEnabled(false); - QUnifiedTimer::instance()->setSlowdownFactor(1); - - qDebug() << "Slow animations disabled"; - } -#endif - if(ke->key() == Qt::Key_Backtab) m_backtabPressed = false;