mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix windows build
This commit is contained in:
parent
e44cc374e1
commit
07405fd4ff
1 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ public slots:
|
||||||
void slideInPrevious();
|
void slideInPrevious();
|
||||||
|
|
||||||
// Move to a widget by index.
|
// Move to a widget by index.
|
||||||
void slideInIndex(int index, enum AnimationDirection direction = AnimationDirection::AUTOMATIC);
|
void slideInIndex(int index, AnimationDirection direction = AnimationDirection::AUTOMATIC);
|
||||||
|
|
||||||
int getWidgetIndex(QWidget *widget);
|
int getWidgetIndex(QWidget *widget);
|
||||||
signals:
|
signals:
|
||||||
|
@ -67,7 +67,7 @@ protected slots:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// The method that does the main work for the widget transition.
|
// The method that does the main work for the widget transition.
|
||||||
void slideInWidget(QWidget *widget, enum AnimationDirection direction = AnimationDirection::AUTOMATIC);
|
void slideInWidget(QWidget *widget, AnimationDirection direction = AnimationDirection::AUTOMATIC);
|
||||||
|
|
||||||
// Indicates whether or not the animation is active.
|
// Indicates whether or not the animation is active.
|
||||||
bool active_;
|
bool active_;
|
||||||
|
@ -79,7 +79,7 @@ protected:
|
||||||
int speed_;
|
int speed_;
|
||||||
|
|
||||||
// The animation type.
|
// The animation type.
|
||||||
enum QEasingCurve::Type animation_type_;
|
QEasingCurve::Type animation_type_;
|
||||||
|
|
||||||
// Current widget's index.
|
// Current widget's index.
|
||||||
int now_;
|
int now_;
|
||||||
|
|
Loading…
Reference in a new issue