From f323110487fb709769f3ad25879847a1f0f23d3a Mon Sep 17 00:00:00 2001 From: RickyRister Date: Sun, 4 May 2025 23:36:55 -0700 Subject: [PATCH] Rename method --- cockatrice/src/dialogs/dlg_view_log.cpp | 6 +++--- cockatrice/src/dialogs/dlg_view_log.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cockatrice/src/dialogs/dlg_view_log.cpp b/cockatrice/src/dialogs/dlg_view_log.cpp index 0cd34c9e4..1b185ea75 100644 --- a/cockatrice/src/dialogs/dlg_view_log.cpp +++ b/cockatrice/src/dialogs/dlg_view_log.cpp @@ -27,7 +27,7 @@ DlgViewLog::DlgViewLog(QWidget *parent) : QDialog(parent) resize(800, 500); loadInitialLogBuffer(); - connect(&Logger::getInstance(), &Logger::logEntryAdded, this, &DlgViewLog::logEntryAdded); + connect(&Logger::getInstance(), &Logger::logEntryAdded, this, &DlgViewLog::appendLogEntry); } void DlgViewLog::actCheckBoxChanged(bool abNewValue) @@ -39,10 +39,10 @@ void DlgViewLog::loadInitialLogBuffer() { QList logBuffer = Logger::getInstance().getLogBuffer(); for (const QString &message : logBuffer) - logEntryAdded(message); + appendLogEntry(message); } -void DlgViewLog::logEntryAdded(const QString &message) +void DlgViewLog::appendLogEntry(const QString &message) { logArea->appendPlainText(message); } diff --git a/cockatrice/src/dialogs/dlg_view_log.h b/cockatrice/src/dialogs/dlg_view_log.h index 6f571ff77..870c23fc5 100644 --- a/cockatrice/src/dialogs/dlg_view_log.h +++ b/cockatrice/src/dialogs/dlg_view_log.h @@ -22,7 +22,7 @@ private: void loadInitialLogBuffer(); private slots: - void logEntryAdded(const QString &message); + void appendLogEntry(const QString &message); void actCheckBoxChanged(bool abNewValue); };