From 82b49f3eb8667290b4c5ed6d3b9036fbe96a4de2 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 26 Nov 2015 08:34:22 -0500 Subject: Clean up the new intel_backlight support in LuminaOS-FreeBSD. Now it should work reliably. --- libLumina/LuminaOS-FreeBSD.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'libLumina/LuminaOS-FreeBSD.cpp') diff --git a/libLumina/LuminaOS-FreeBSD.cpp b/libLumina/LuminaOS-FreeBSD.cpp index 2d19970f..99d20781 100644 --- a/libLumina/LuminaOS-FreeBSD.cpp +++ b/libLumina/LuminaOS-FreeBSD.cpp @@ -83,20 +83,19 @@ void LOS::setScreenBrightness(int percent){ //Run the command(s) bool success = false; // - try hardware setting first (PC-BSD || or intel_backlight) - if(QFile::exists("/usr/local/bin/intel_backlight")){ - qDebug() << "/usr/local/bin/intel_backlight" << "was found!"; - QString ret = LUtils::getCmdOutput("intel_backlight", QStringList() <