From d12911cd0269064b8e0340f83aeade1fc23576a2 Mon Sep 17 00:00:00 2001 From: WarmUpTill <19472752+WarmUpTill@users.noreply.github.com> Date: Mon, 10 Nov 2025 18:55:52 +0100 Subject: [PATCH] Fix typo --- lib/queue/action-queue.cpp | 2 +- lib/utils/ui-helpers.cpp | 2 +- lib/utils/ui-helpers.hpp | 2 +- lib/variables/variable.cpp | 2 +- tests/mocks/ui-helpers.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/queue/action-queue.cpp b/lib/queue/action-queue.cpp index d6223126..a9c640d0 100644 --- a/lib/queue/action-queue.cpp +++ b/lib/queue/action-queue.cpp @@ -423,7 +423,7 @@ void ImportQueues(obs_data_t *data) importedQueues->emplace_back(queue); } - QeueUITask(signalImportedQueues, importedQueues); + QueueUITask(signalImportedQueues, importedQueues); } std::weak_ptr GetWeakActionQueueByName(const std::string &name) diff --git a/lib/utils/ui-helpers.cpp b/lib/utils/ui-helpers.cpp index d40b2135..8cf7ff09 100644 --- a/lib/utils/ui-helpers.cpp +++ b/lib/utils/ui-helpers.cpp @@ -178,7 +178,7 @@ std::string GetThemeTypeName() #endif } -void QeueUITask(void (*task)(void *param), void *param) +void QueueUITask(void (*task)(void *param), void *param) { obs_queue_task(OBS_TASK_UI, task, param, false); } diff --git a/lib/utils/ui-helpers.hpp b/lib/utils/ui-helpers.hpp index 6172a153..86bf3016 100644 --- a/lib/utils/ui-helpers.hpp +++ b/lib/utils/ui-helpers.hpp @@ -35,7 +35,7 @@ EXPORT void DisplayTrayMessage(const QString &title, const QString &msg, EXPORT std::string GetThemeTypeName(); EXPORT QWidget *GetSettingsWindow(); -void QeueUITask(void (*task)(void *param), void *param); +EXPORT void QueueUITask(void (*task)(void *param), void *param); bool IsCursorInWidgetArea(QWidget *widget); diff --git a/lib/variables/variable.cpp b/lib/variables/variable.cpp index d98fe096..615460a9 100644 --- a/lib/variables/variable.cpp +++ b/lib/variables/variable.cpp @@ -456,7 +456,7 @@ void ImportVariables(obs_data_t *data) obs_data_array_release(array); - QeueUITask(signalImportedVariables, importedVars); + QueueUITask(signalImportedVariables, importedVars); } std::chrono::high_resolution_clock::time_point GetLastVariableChangeTime() diff --git a/tests/mocks/ui-helpers.cpp b/tests/mocks/ui-helpers.cpp index 0d049280..f0675696 100644 --- a/tests/mocks/ui-helpers.cpp +++ b/tests/mocks/ui-helpers.cpp @@ -40,7 +40,7 @@ std::string GetThemeTypeName() return "Dark"; } -void QeueUITask(void (*task)(void *param), void *) {} +void QueueUITask(void (*task)(void *param), void *) {} QWidget *GetSettingsWindow() {