1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-17 12:02:48 +01:00

Add a constructor to DBusStatus to fix a build failure in release mode.

This commit is contained in:
David Sansome 2012-08-20 10:28:29 +01:00
parent 78a326b00e
commit edb57e1b92

View File

@ -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