diff --git a/src/effects/showfps/showfps.cpp b/src/effects/showfps/showfps.cpp index f15145c750..90cc7a514d 100644 --- a/src/effects/showfps/showfps.cpp +++ b/src/effects/showfps/showfps.cpp @@ -51,6 +51,10 @@ ShowFpsEffect::ShowFpsEffect() reconfigure(ReconfigureAll); } +ShowFpsEffect::~ShowFpsEffect() +{ +} + void ShowFpsEffect::reconfigure(ReconfigureFlags) { ShowFpsConfig::self()->read(); diff --git a/src/effects/showfps/showfps.h b/src/effects/showfps/showfps.h index 859ae726f0..d645cb9e6a 100644 --- a/src/effects/showfps/showfps.h +++ b/src/effects/showfps/showfps.h @@ -33,6 +33,8 @@ class ShowFpsEffect Q_PROPERTY(QColor textColor READ configuredTextColor) public: ShowFpsEffect(); + ~ShowFpsEffect() override; + void reconfigure(ReconfigureFlags) override; void prePaintScreen(ScreenPrePaintData& data, std::chrono::milliseconds presentTime) override; void paintScreen(int mask, const QRegion ®ion, ScreenPaintData& data) override;