Add const qualifier to various functions

This commit is contained in:
WarmUpTill
2022-12-11 01:59:19 +01:00
committed by WarmUpTill
parent a901f59f0f
commit b5ec9e7586
142 changed files with 380 additions and 381 deletions

View File

@@ -8,7 +8,7 @@
#include <QLabel>
#include <QScrollBar>
bool MacroSegment::Save(obs_data_t *obj)
bool MacroSegment::Save(obs_data_t *obj) const
{
obs_data_set_bool(obj, "collapsed", static_cast<int>(_collapsed));
return true;
@@ -20,7 +20,7 @@ bool MacroSegment::Load(obs_data_t *obj)
return true;
}
std::string MacroSegment::GetShortDesc()
std::string MacroSegment::GetShortDesc() const
{
return "";
}