aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2016-10-14 08:50:02 -0400
committerKen Moore <ken@pcbsd.org>2016-10-14 08:50:02 -0400
commit2334aa1c880aecd062a6ff2b272608f675092a95 (patch)
tree4a166f4a34ab2be79fb22fa74e41cc3fbdc6c882 /src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
parentAdd a title/icon for the lumina-calculator window. (diff)
downloadlumina-2334aa1c880aecd062a6ff2b272608f675092a95.tar.gz
lumina-2334aa1c880aecd062a6ff2b272608f675092a95.tar.bz2
lumina-2334aa1c880aecd062a6ff2b272608f675092a95.zip
Oops - forgot to save the fallback CPU temperature reading into the variable.
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp2
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();
bgstack15