fix a deprecation warning on ue5

This commit is contained in:
Mamadou Babaei
2023-03-28 10:37:57 +02:00
parent e977af1fd5
commit 8aeda537ab
@@ -42,7 +42,12 @@ FSGSkeletonEditorCommands::FSGSkeletonEditorCommands()
TEXT("SGSkeletonEditor"),
NSLOCTEXT("Contexts", "SGSkeletonEditor", "SenseGlove Skeleton Editor"),
NAME_None,
FEditorStyle::GetStyleSetName())
#if ENGINE_MAJOR_VERSION >= 5
FAppStyle::GetAppStyleSetName()
#else
FEditorStyle::GetStyleSetName()
#endif /* ENGINE_MAJOR_VERSION >= 5 */
)
{
}