1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 09:20:16 +01:00

more const in drawing functions

This commit is contained in:
Paul Licameli
2018-09-13 13:07:44 -04:00
parent 4b950927b5
commit a5c50a112a
7 changed files with 17 additions and 17 deletions

View File

@@ -137,7 +137,7 @@ std::shared_ptr<Track> TrackPanelAx::SetFocus( std::shared_ptr<Track> track )
}
// Returns TRUE if passed track has the focus
bool TrackPanelAx::IsFocused( Track *track )
bool TrackPanelAx::IsFocused( const Track *track )
{
auto focusedTrack = mFocusedTrack.lock();
if( !focusedTrack )