From e15da561988948de26c80105dc9762943009b9e7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 16 Oct 2019 01:03:02 +0300 Subject: Fix code style, ignore some warning in clang-tidy --- src/progs/manaplus/actions/actions.cpp | 4 ++-- src/progs/manaplus/actions/chat.cpp | 2 +- src/progs/manaplus/actions/commands.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/progs/manaplus') diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp index 2993904ce..1a351d268 100644 --- a/src/progs/manaplus/actions/actions.cpp +++ b/src/progs/manaplus/actions/actions.cpp @@ -2004,9 +2004,9 @@ impHandler(seen) impHandler(dumpMemoryUsage) { if (event.tab != nullptr) - memoryManager.printAllMemory(event.tab); + MemoryManager::printAllMemory(event.tab); else - memoryManager.printAllMemory(localChatTab); + MemoryManager::printAllMemory(localChatTab); return true; } diff --git a/src/progs/manaplus/actions/chat.cpp b/src/progs/manaplus/actions/chat.cpp index ce63419cf..22d0656cb 100644 --- a/src/progs/manaplus/actions/chat.cpp +++ b/src/progs/manaplus/actions/chat.cpp @@ -779,7 +779,7 @@ impHandler(sendGuiKey) } if (sz == 2) { - const InputActionT actionId = inputManager.getActionByConfigField( + const InputActionT actionId = InputManager::getActionByConfigField( pars[1]); guiInput->simulateKey(keyValue, actionId); } diff --git a/src/progs/manaplus/actions/commands.cpp b/src/progs/manaplus/actions/commands.cpp index ba4ae0d61..dd58c221b 100644 --- a/src/progs/manaplus/actions/commands.cpp +++ b/src/progs/manaplus/actions/commands.cpp @@ -1670,7 +1670,7 @@ impHandler(mailTo) } else { - mailWindow->createMail(args); + MailWindow::createMail(args); } return true; } -- cgit v1.2.3-70-g09d2