exact opposite, lol

pull/1799/head
Keloran 2022-11-21 09:46:57 +00:00
parent a2751cfcd6
commit 456e06c4b5
No known key found for this signature in database
1 changed files with 5 additions and 1 deletions

View File

@ -250,10 +250,14 @@ const std::string UPower::getDeviceStatus(UpDeviceState& state) {
}
bool UPower::handleToggle(GdkEventButton* const& event) {
bool clickHandled = AModule::handleToggle(event);
if (clickHandled) {
return clickHandled;
}
std::lock_guard<std::mutex> guard(m_Mutex);
showAltText = !showAltText;
dp.emit();
return AModule::handleToggle(event);
return true
}
std::string UPower::timeToString(gint64 time) {