mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
[AFV] CInputManager stores icon indexes instead of QPixmap instances
The GUI converts icon indexes to QPixmap indexes when needed. This fixes the context unittest that was broken by audio context changes.
This commit is contained in:
@@ -30,7 +30,7 @@ namespace BlackCore
|
||||
reloadHotkeySettings();
|
||||
}
|
||||
|
||||
void CInputManager::registerAction(const QString &action, const QPixmap &icon)
|
||||
void CInputManager::registerAction(const QString &action, BlackMisc::CIcons::IconIndex icon)
|
||||
{
|
||||
if (!m_availableActions.contains(action))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user