aboutsummaryrefslogtreecommitdiffstats
path: root/src/player/Control.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/player/Control.hxx')
-rw-r--r--src/player/Control.hxx5
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();