mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +02:00
Make a member function const
This commit is contained in:
parent
2d6e8f3964
commit
a31636aa1a
@ -419,7 +419,7 @@ ReservedCommandFlag::ReservedCommandFlag(
|
|||||||
Options().emplace_back( options );
|
Options().emplace_back( options );
|
||||||
}
|
}
|
||||||
|
|
||||||
CommandFlag MenuManager::GetUpdateFlags( bool checkActive )
|
CommandFlag MenuManager::GetUpdateFlags( bool checkActive ) const
|
||||||
{
|
{
|
||||||
// This method determines all of the flags that determine whether
|
// This method determines all of the flags that determine whether
|
||||||
// certain menu items and commands should be enabled or disabled,
|
// certain menu items and commands should be enabled or disabled,
|
||||||
|
@ -79,7 +79,7 @@ public:
|
|||||||
|
|
||||||
// If checkActive, do not do complete flags testing on an
|
// If checkActive, do not do complete flags testing on an
|
||||||
// inactive project as it is needlessly expensive.
|
// inactive project as it is needlessly expensive.
|
||||||
CommandFlag GetUpdateFlags( bool checkActive = false );
|
CommandFlag GetUpdateFlags( bool checkActive = false ) const;
|
||||||
void UpdatePrefs() override;
|
void UpdatePrefs() override;
|
||||||
|
|
||||||
// Command Handling
|
// Command Handling
|
||||||
|
Loading…
x
Reference in New Issue
Block a user