mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 20:09:50 +01:00
Add a constructor to DBusStatus to fix a build failure in release mode.
This commit is contained in:
parent
78a326b00e
commit
edb57e1b92
@ -28,6 +28,13 @@ class Application;
|
||||
class Playlist;
|
||||
|
||||
struct DBusStatus { // From Amarok.
|
||||
DBusStatus()
|
||||
: play(Mpris_Stopped),
|
||||
random(0),
|
||||
repeat(0),
|
||||
repeat_playlist(0)
|
||||
{}
|
||||
|
||||
int play; // Playing = 0, Paused = 1, Stopped = 2
|
||||
int random; // Linearly = 0, Randomly = 1
|
||||
int repeat; // Go_To_Next = 0, Repeat_Current = 1
|
||||
|
Loading…
Reference in New Issue
Block a user