Simplify if statement
This commit is contained in:
parent
2a67bc9926
commit
4b9551d27f
@ -249,7 +249,7 @@ bool VLCEngine::ValidOutput(const QString &output) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool VLCEngine::CustomDeviceSupport(const QString &output) {
|
bool VLCEngine::CustomDeviceSupport(const QString &output) {
|
||||||
return (output == "auto" ? false : true);
|
return (output != "auto");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool VLCEngine::ALSADeviceSupport(const QString &output) {
|
bool VLCEngine::ALSADeviceSupport(const QString &output) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user