simplify Clear() in Window and its derivatives
it removes argument responsible for immediate refreshing. since after all calls that were refreshing screen there was call to Refresh() anyway, this switch doesn't make much sense.
This commit is contained in:
@@ -96,7 +96,7 @@ void ServerInfo::Update()
|
||||
time(&now);
|
||||
|
||||
Mpd.UpdateStats();
|
||||
w->Clear(0);
|
||||
w->Clear();
|
||||
|
||||
*w << fmtBold << U("Version: ") << fmtBoldEnd << U("0.") << std::fixed << std::setprecision(1) << Mpd.Version() << '\n';
|
||||
*w << fmtBold << U("Uptime: ") << fmtBoldEnd;
|
||||
|
||||
Reference in New Issue
Block a user