From 9eee1fa91734af37944d216c0dfe0b16a4fb56d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 21 Aug 2024 11:50:22 +0200 Subject: [PATCH] Fix typos in log messages --- src/forms/ConnectInfo.cpp | 2 +- src/forms/SettingsDialog.cpp | 6 +++--- src/websocketserver/WebSocketServer.cpp | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/forms/ConnectInfo.cpp b/src/forms/ConnectInfo.cpp index 06507a6f..5e6add9e 100644 --- a/src/forms/ConnectInfo.cpp +++ b/src/forms/ConnectInfo.cpp @@ -51,7 +51,7 @@ void ConnectInfo::RefreshData() { auto conf = GetConfig(); if (!conf) { - blog(LOG_ERROR, "[ConnectInfo::showEvent] Unable to retreive config!"); + blog(LOG_ERROR, "[ConnectInfo::showEvent] Unable to retrieve config!"); return; } diff --git a/src/forms/SettingsDialog.cpp b/src/forms/SettingsDialog.cpp index eaf2027e..30fc5fc0 100644 --- a/src/forms/SettingsDialog.cpp +++ b/src/forms/SettingsDialog.cpp @@ -79,7 +79,7 @@ void SettingsDialog::showEvent(QShowEvent *) { auto conf = GetConfig(); if (!conf) { - blog(LOG_ERROR, "[SettingsDialog::showEvent] Unable to retreive config!"); + blog(LOG_ERROR, "[SettingsDialog::showEvent] Unable to retrieve config!"); return; } @@ -119,7 +119,7 @@ void SettingsDialog::RefreshData() { auto conf = GetConfig(); if (!conf) { - blog(LOG_ERROR, "[SettingsDialog::RefreshData] Unable to retreive config!"); + blog(LOG_ERROR, "[SettingsDialog::RefreshData] Unable to retrieve config!"); return; } @@ -149,7 +149,7 @@ void SettingsDialog::SaveFormData() { auto conf = GetConfig(); if (!conf) { - blog(LOG_ERROR, "[SettingsDialog::SaveFormData] Unable to retreive config!"); + blog(LOG_ERROR, "[SettingsDialog::SaveFormData] Unable to retrieve config!"); return; } diff --git a/src/websocketserver/WebSocketServer.cpp b/src/websocketserver/WebSocketServer.cpp index bd1bc3c6..dff52537 100644 --- a/src/websocketserver/WebSocketServer.cpp +++ b/src/websocketserver/WebSocketServer.cpp @@ -78,7 +78,7 @@ void WebSocketServer::Start() auto conf = GetConfig(); if (!conf) { - blog(LOG_ERROR, "[WebSocketServer::Start] Unable to retreive config!"); + blog(LOG_ERROR, "[WebSocketServer::Start] Unable to retrieve config!"); return; } @@ -222,7 +222,7 @@ void WebSocketServer::onOpen(websocketpp::connection_hdl hdl) auto conf = GetConfig(); if (!conf) { - blog(LOG_ERROR, "[WebSocketServer::onOpen] Unable to retreive config!"); + blog(LOG_ERROR, "[WebSocketServer::onOpen] Unable to retrieve config!"); return; } @@ -330,7 +330,7 @@ void WebSocketServer::onClose(websocketpp::connection_hdl hdl) // Get config for tray notification auto conf = GetConfig(); if (!conf) { - blog(LOG_ERROR, "[WebSocketServer::onClose] Unable to retreive config!"); + blog(LOG_ERROR, "[WebSocketServer::onClose] Unable to retrieve config!"); return; }