refactor: Remove most raw accesses into Application (#5104)
This commit is contained in:
@@ -108,7 +108,7 @@ QCheckBox *SettingsPage::createCheckBox(
|
||||
QObject::connect(checkbox, &QCheckBox::toggled, this,
|
||||
[&setting](bool state) {
|
||||
setting = state;
|
||||
getApp()->windows->forceLayoutChannelViews();
|
||||
getIApp()->getWindows()->forceLayoutChannelViews();
|
||||
});
|
||||
|
||||
return checkbox;
|
||||
|
||||
Reference in New Issue
Block a user