Ref T220, renamed some main window / widget functions

Make clearer if dealing with a window or widget
This commit is contained in:
Klaus Basan
2018-01-10 03:20:04 +01:00
parent d3480c41b3
commit b74652c94a
16 changed files with 77 additions and 56 deletions

View File

@@ -247,8 +247,8 @@ namespace BlackGui
void CInfoBarStatusComponent::updateSpacing()
{
if (!sGui || !sGui->mainApplicationWindow()) { return; }
const int w = sGui->mainApplicationWindow()->width();
if (!sGui || !sGui->mainApplicationWidget()) { return; }
const int w = sGui->mainApplicationWidget()->width();
const int s = (w >= 400) ? 6 : 2;
this->setSpacing(s);
}