From 08b9de9a5dd48caa12e054e7a11c9a15e8efbcfd Mon Sep 17 00:00:00 2001 From: asozinov Date: Mon, 10 Jul 2023 17:41:16 +0100 Subject: [PATCH] Fix Windows compilation problem --- src/SUIT/SUIT_AutoRotate.cxx | 12 ------------ src/SUIT/SUIT_AutoRotate.h | 4 ++-- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/SUIT/SUIT_AutoRotate.cxx b/src/SUIT/SUIT_AutoRotate.cxx index 2957c247b..65ad585ac 100644 --- a/src/SUIT/SUIT_AutoRotate.cxx +++ b/src/SUIT/SUIT_AutoRotate.cxx @@ -107,15 +107,3 @@ void SUIT_AutoRotate::addToLog(const QPoint& thePos, qint64 theTime) if (myLog.myHistorySize < myLog.mySize) myLog.myHistorySize++; } - - -bool SUIT_AutoRotate::startAnimation() -{ - // override this method in derived classes -} - - -bool SUIT_AutoRotate::stopAnimation() -{ - // override this method in derived classes -} diff --git a/src/SUIT/SUIT_AutoRotate.h b/src/SUIT/SUIT_AutoRotate.h index d92eb2894..64c7fa0b7 100644 --- a/src/SUIT/SUIT_AutoRotate.h +++ b/src/SUIT/SUIT_AutoRotate.h @@ -42,8 +42,8 @@ public: virtual void initialize(); - virtual bool startAnimation(); - virtual bool stopAnimation(); + virtual bool startAnimation() = 0; + virtual bool stopAnimation() = 0; public slots: virtual void onStartRotate(int theMouseX, int theMouseY, qint64 theTime); -- 2.30.2