fix: lint
This commit is contained in:
parent
5182fadede
commit
f4cfafd238
|
@ -15,7 +15,7 @@ class AModule : public IModule {
|
|||
bool enable_scroll = false);
|
||||
virtual ~AModule();
|
||||
virtual auto update() -> void;
|
||||
virtual auto refresh(int) -> void {};
|
||||
virtual auto refresh(int) -> void{};
|
||||
virtual operator Gtk::Widget &();
|
||||
|
||||
Glib::Dispatcher dp;
|
||||
|
|
|
@ -210,7 +210,7 @@ void waybar::modules::Custom::parseOutputJson() {
|
|||
}
|
||||
}
|
||||
if (!parsed["percentage"].asString().empty() && parsed["percentage"].isNumeric()) {
|
||||
percentage_ = (int) lround(parsed["percentage"].asFloat());
|
||||
percentage_ = (int)lround(parsed["percentage"].asFloat());
|
||||
} else {
|
||||
percentage_ = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue