diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-10-16 01:03:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-10-16 01:03:02 +0300 |
commit | e15da561988948de26c80105dc9762943009b9e7 (patch) | |
tree | 717dbdffe08daf6a1832ce79043697d3f7e62a23 /src/gui/windows/chatwindow.cpp | |
parent | 71cfaf012217cf3bbbc39207a12131b748535fcc (diff) | |
download | plus-e15da561988948de26c80105dc9762943009b9e7.tar.gz plus-e15da561988948de26c80105dc9762943009b9e7.tar.bz2 plus-e15da561988948de26c80105dc9762943009b9e7.tar.xz plus-e15da561988948de26c80105dc9762943009b9e7.zip |
Fix code style, ignore some warning in clang-tidy
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 0f0970c51..f96cf976d 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -253,7 +253,7 @@ void ChatWindow::loadCommandsFile(const std::string &name) void ChatWindow::fillCommands() { loadCommandsFile("chatcommands.txt"); - inputManager.addChatCommands(mCommands); + InputManager::addChatCommands(mCommands); } void ChatWindow::loadGMCommands() @@ -1531,7 +1531,7 @@ std::string ChatWindow::autoComplete(const StringVect &names, } std::string ChatWindow::autoComplete(const std::string &partName, - const History *const words) const + const History *const words) { if (words == nullptr) return ""; |