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() {