Skip to content

Commit

Permalink
qml: keep paybackState values the same as qtmm
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Oct 17, 2014
1 parent cdac6a4 commit 8af6ab4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions qml/QmlAV/QmlAVPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ class QMLAV_EXPORT QmlAVPlayer : public QObject, public QQmlParserStatus
};

enum PlaybackState {
StoppedState,
PlayingState,
PausedState,
StoppedState
PausedState
};

enum Error {
Expand Down
6 changes: 3 additions & 3 deletions qml/plugins.qmltypes
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ Module {
Enum {
name: "PlaybackState"
values: {
"PlayingState": 0,
"PausedState": 1,
"StoppedState": 2
"StoppedState": 0,
"PlayingState": 1,
"PausedState": 2
}
}
Enum {
Expand Down

0 comments on commit 8af6ab4

Please sign in to comment.