Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BugFixed #31

Closed
Violet-VE opened this issue May 6, 2023 · 2 comments
Closed

BugFixed #31

Violet-VE opened this issue May 6, 2023 · 2 comments

Comments

@Violet-VE
Copy link

In UE5_Latest(Github::ue5-main)

WakaTimeForUE.cpp#L145:
FEditorDelegates::PostSaveWorld.Remove(PostSaveWorldHandle); -> FEditorDelegates::PostSaveWorldWithContext.Remove(PostSaveWorldHandle);

WakaTimeForUE.h:
Add #include "EditorStyleSet.h"

And

WakaTimeForUE.Build.cs:
Add "EditorStyle" Module

Because:
WakaTimeForUE.h#L145:
FEditorStyle::GetStyleSetName() // Error

@Violet-VE
Copy link
Author

But:函数 'GetStyleSetName' 已被弃用,原因: 'FEditorStyle::GetStyleSetName() is deprecated, use FAppStyle::GetAppStyleSetName() instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.'

@TheAshenWolf
Copy link
Owner

Thank you for your report! Replaced the deprecated methods; everything should be back to green now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants