Commit 7a5fb89b authored by Jonathan Marten's avatar Jonathan Marten

KCModule general page: Change conditional to what was probably intended

Identified by GCC 7.3:
kcmodule/global/GeneralPage.cpp: In member function 'void GeneralPage::fillUi()':
kcmodule/global/GeneralPage.cpp:142: warning: logical 'and' of equal expressions
parent d4718780
......@@ -139,7 +139,7 @@ void GeneralPage::fillUi()
lowPeripheralSpin->hide();
}
if (!hasPeripheralBattery && !hasPeripheralBattery) {
if (!hasPowerSupplyBattery && !hasPeripheralBattery) {
batteryLevelsLabel->hide();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment