Simplify if statement

This commit is contained in:
Jonas Kvinge 2021-08-25 02:28:41 +02:00
parent 2a67bc9926
commit 4b9551d27f
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ bool VLCEngine::ValidOutput(const QString &output) {
}
bool VLCEngine::CustomDeviceSupport(const QString &output) {
return (output == "auto" ? false : true);
return (output != "auto");
}
bool VLCEngine::ALSADeviceSupport(const QString &output) {