diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-05-08 01:02:22 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-05-08 01:02:22 +0300 |
commit | 07405fd4ffb860982f559fa2361f79595366b1f4 (patch) | |
tree | 6dbc9fd957e473165dd12ba80662a840ce857cce | |
parent | Use strongly typed enums (diff) | |
download | nheko-07405fd4ffb860982f559fa2361f79595366b1f4.tar.xz |
Fix windows build
-rw-r--r-- | include/SlidingStackWidget.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/SlidingStackWidget.h b/include/SlidingStackWidget.h index 56d523b0..d6733538 100644 --- a/include/SlidingStackWidget.h +++ b/include/SlidingStackWidget.h @@ -54,7 +54,7 @@ public slots: void slideInPrevious(); // 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); signals: @@ -67,7 +67,7 @@ protected slots: protected: // 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. bool active_; @@ -79,7 +79,7 @@ protected: int speed_; // The animation type. - enum QEasingCurve::Type animation_type_; + QEasingCurve::Type animation_type_; // Current widget's index. int now_; |