Commit 86e5422b authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[MPRIS Data Engine] Remove duplicate capFromName

We already check for CanPlay/CanPause earlier
parent bc05cec8
......@@ -104,10 +104,6 @@ static PlayerContainer::Cap capFromName(const QString& capName)
return PlayerContainer::CanGoNext;
else if (capName == QLatin1String("CanGoPrevious"))
return PlayerContainer::CanGoPrevious;
else if (capName == QLatin1String("CanPlay"))
return PlayerContainer::CanPlay;
else if (capName == QLatin1String("CanPause"))
return PlayerContainer::CanPause;
return PlayerContainer::NoCaps;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment