mirror of
https://github.com/hyprwm/hyprlock.git
synced 2025-05-12 21:30:37 +01:00
auth: use static for getValue (#732)
This commit is contained in:
parent
6daab0517c
commit
a8de918cc4
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ static void displayFailTimeoutCallback(std::shared_ptr<CTimer> self, void* data)
|
|||
}
|
||||
|
||||
void CAuth::enqueueFail(const std::string& failText, eAuthImplementations implType) {
|
||||
const auto FAILTIMEOUT = g_pConfigManager->getValue<Hyprlang::INT>("general:fail_timeout");
|
||||
static const auto FAILTIMEOUT = g_pConfigManager->getValue<Hyprlang::INT>("general:fail_timeout");
|
||||
|
||||
m_sCurrentFail.failText = failText;
|
||||
m_sCurrentFail.failSource = implType;
|
||||
|
|
Loading…
Reference in a new issue