Skip to content

Commit

Permalink
Gui: Add QObject as friend of NavigationAnimation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexbas committed Oct 22, 2023
1 parent 736909e commit 9c629bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gui/NavigationAnimation.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class GuiExport NavigationAnimation : protected QVariantAnimation
{
Q_OBJECT
public:
using QVariantAnimation::QObject;
explicit NavigationAnimation(NavigationStyle* navigation);

Q_SIGNALS:
Expand All @@ -53,6 +52,7 @@ class GuiExport NavigationAnimation : protected QVariantAnimation
void updateCurrentValue(const QVariant& value) override;

friend class NavigationAnimator;
friend class QObject;
};

class GuiExport FixedTimeAnimation : public NavigationAnimation
Expand Down

0 comments on commit 9c629bb

Please sign in to comment.