Mark free functions static where applicable

This commit is contained in:
WarmUpTill
2023-04-29 22:56:45 +02:00
committed by WarmUpTill
parent 5967c83b03
commit 443ffb7906
27 changed files with 99 additions and 94 deletions

View File

@@ -18,7 +18,7 @@ namespace advss {
static QMetaObject::Connection addPulse;
static QTimer onChangeHighlightTimer;
bool macroNameExists(std::string name)
static bool macroNameExists(std::string name)
{
return !!GetMacroByName(name.c_str());
}
@@ -806,7 +806,7 @@ void AdvSceneSwitcher::DeleteMacroSegementHotkey()
}
}
void fade(QWidget *widget, bool fadeOut)
static void fade(QWidget *widget, bool fadeOut)
{
const double fadeOutOpacity = 0.3;
// Don't use exactly 1.0 as for some reason this causes buttons in