Fixes icons not displaying in AudioControlsEditor (#1596)

The qrc files appeared to be set up correctly, but needed to add a
Q_INIT_RESOURCE call to the code.
This commit is contained in:
Eric Phister
2021-06-25 16:40:36 -05:00
committed by GitHub
parent ba0f1ad758
commit 2ad8804c04
3 changed files with 19 additions and 1 deletions
@@ -23,6 +23,11 @@
#include <CryPath.h>
#include <Util/PathUtil.h>
void InitWwiseResources()
{
Q_INIT_RESOURCE(EditorWwise);
}
namespace AudioControls
{
//-------------------------------------------------------------------------------------------//
@@ -80,6 +85,12 @@ namespace AudioControls
return "";
}
//-------------------------------------------------------------------------------------------//
CAudioSystemEditor_wwise::CAudioSystemEditor_wwise()
{
InitWwiseResources();
}
//-------------------------------------------------------------------------------------------//
void CAudioSystemEditor_wwise::Reload()
{