You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile (at least, I found the warning on MacOS CI, but it's probably everywhere).
Expected behavior
No warning.
Actual behavior
Warning.
Affected LMMS versions
master
Logs
Click to expand
AutoMoc: /Users/travis/build/LMMS/lmms/include/TrackContentObjectView.h:57: Warning: Property declaration mouseHotspotHand has no READ accessor function or associated MEMBER variable. The property will be invalid.
/Users/travis/build/LMMS/lmms/include/TrackContentObjectView.h:58: Warning: Property declaration mouseHotspotKnife has no READ accessor function or associated MEMBER variable. The property will be invalid.
The text was updated successfully, but these errors were encountered:
This is a weird warning considering the fact that the properties are definitely read correctly (changing the property in the theme changes the cursor hotspot). I vaguely remember reading that you don't need to write both WRITE and READ in some cases, but perhaps that was via MEMBER and NOTIFY. Still, I suppose I'll make a PR to switch to MEMBER/NOTIFY and see if that fixes it.
The property is linked to setMouseHotspotKnife, which sets m_mouseHotspotKnife, which is read. I double checked this by messing up the hotspot so the cut position is incorrect. With the property removed LMMS spits out errors on launch + the cut position remains unmodified.
Bug Summary
8acb922 introduces warnings that
mouseHotspotHand
andmouseHotspotKnife
ininclude/TrackContentObjectView.h
are not accessed (see logs).Cause: #5949.
Steps to reproduce
Compile (at least, I found the warning on MacOS CI, but it's probably everywhere).
Expected behavior
No warning.
Actual behavior
Warning.
Affected LMMS versions
master
Logs
Click to expand
The text was updated successfully, but these errors were encountered: