diff options
author | Max Kellermann <max@duempel.org> | 2015-11-11 17:34:37 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-11-11 17:41:02 +0100 |
commit | afc1236b066480656cd7285364a9d79dae01f763 (patch) | |
tree | a95b01b9b7b3e2aa8ebb659c1712b0b0680623c3 /src/player/Control.hxx | |
parent | bedd5f00f86830b07d8a0649a66112840e6edf35 (diff) | |
download | mpd-afc1236b066480656cd7285364a9d79dae01f763.tar.gz mpd-afc1236b066480656cd7285364a9d79dae01f763.tar.xz mpd-afc1236b066480656cd7285364a9d79dae01f763.zip |
player/Control: move code to ClearError()
Diffstat (limited to 'src/player/Control.hxx')
-rw-r--r-- | src/player/Control.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/player/Control.hxx b/src/player/Control.hxx index 812f4d621..edfde09fe 100644 --- a/src/player/Control.hxx +++ b/src/player/Control.hxx @@ -326,6 +326,11 @@ public: private: void PauseLocked(); + void ClearError() { + error_type = PlayerError::NONE; + error.Clear(); + } + public: void LockPause(); |