diff options
author | Ken Moore <ken@pcbsd.org> | 2016-10-14 08:50:02 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2016-10-14 08:50:02 -0400 |
commit | 2334aa1c880aecd062a6ff2b272608f675092a95 (patch) | |
tree | 4a166f4a34ab2be79fb22fa74e41cc3fbdc6c882 | |
parent | Add a title/icon for the lumina-calculator window. (diff) | |
download | lumina-2334aa1c880aecd062a6ff2b272608f675092a95.tar.gz lumina-2334aa1c880aecd062a6ff2b272608f675092a95.tar.bz2 lumina-2334aa1c880aecd062a6ff2b272608f675092a95.zip |
Oops - forgot to save the fallback CPU temperature reading into the variable.
-rw-r--r-- | src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp index d0e8cb4e..2bffb5a1 100644 --- a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp +++ b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp @@ -294,7 +294,7 @@ QStringList LOS::CPUTemperatures(){ //Returns: List containing the temperature o QStringList temps; if(vars.isEmpty()){ temps = LUtils::getCmdOutput("sysctl -i dev.cpu").filter(".temperature:"); //try direct readings first - if(temps.isEmpty()){ LUtils::getCmdOutput("sysctl -i hw.acpi").filter(".temperature:"); } // then try acpi values + if(temps.isEmpty()){ temps = LUtils::getCmdOutput("sysctl -i hw.acpi").filter(".temperature:"); } // then try acpi values }else{ temps = LUtils::getCmdOutput("sysctl "+vars.join(" ")); vars.clear(); } temps.sort(); |