refactor: Remove most raw accesses into Application (#5104)
This commit is contained in:
@@ -58,7 +58,7 @@ std::vector<QString> Hotkey::arguments() const
|
||||
|
||||
QString Hotkey::getCategory() const
|
||||
{
|
||||
return getApp()->hotkeys->categoryDisplayName(this->category_);
|
||||
return getIApp()->getHotkeys()->categoryDisplayName(this->category_);
|
||||
}
|
||||
|
||||
Qt::ShortcutContext Hotkey::getContext() const
|
||||
|
||||
Reference in New Issue
Block a user