refactor: Remove most raw accesses into Application (#5104)
This commit is contained in:
@@ -509,7 +509,7 @@ void HighlightModel::customRowSetData(const std::vector<QStandardItem *> &row,
|
||||
break;
|
||||
}
|
||||
|
||||
getApp()->windows->forceLayoutChannelViews();
|
||||
getIApp()->getWindows()->forceLayoutChannelViews();
|
||||
}
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -113,7 +113,7 @@ void UserHighlightModel::customRowSetData(
|
||||
break;
|
||||
}
|
||||
|
||||
getApp()->windows->forceLayoutChannelViews();
|
||||
getIApp()->getWindows()->forceLayoutChannelViews();
|
||||
}
|
||||
|
||||
// row into vector item
|
||||
|
||||
Reference in New Issue
Block a user