mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Ref T220, renamed some main window / widget functions
Make clearer if dealing with a window or widget
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user