Removed amixer requirement for volume control

This commit is contained in:
Victor Tran 2017-05-14 15:40:10 +10:00
parent d42dc26e09
commit b3cc3f7882

View file

@ -186,12 +186,6 @@ MainWindow::MainWindow(QWidget *parent) :
ui->LocationIndication->setVisible(location);
});
if (QFile("/usr/bin/amixer").exists()) {
ui->volumeSlider->setVisible(false);
} else {
ui->volumeFrame->setVisible(false);
}
ui->brightnessSlider->setVisible(false);
ui->mprisFrame->setVisible(false);