summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-10-16 01:03:02 +0300
committerAndrei Karas <akaras@inbox.ru>2019-10-16 01:03:02 +0300
commite15da561988948de26c80105dc9762943009b9e7 (patch)
tree717dbdffe08daf6a1832ce79043697d3f7e62a23 /src/gui/widgets
parent71cfaf012217cf3bbbc39207a12131b748535fcc (diff)
downloadplus-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/widgets')
-rw-r--r--src/gui/widgets/spellshortcutcontainer.cpp2
-rw-r--r--src/gui/widgets/tabs/chat/emulateguildtab.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp
index dfe7c99af..88d3d26ef 100644
--- a/src/gui/widgets/spellshortcutcontainer.cpp
+++ b/src/gui/widgets/spellshortcutcontainer.cpp
@@ -47,7 +47,7 @@ SpellShortcutContainer::SpellShortcutContainer(Widget2 *const widget,
mSpellClicked(false)
{
if (spellShortcut != nullptr)
- mMaxItems = spellShortcut->getSpellsCount();
+ mMaxItems = SpellShortcut::getSpellsCount();
else
mMaxItems = 0;
}
diff --git a/src/gui/widgets/tabs/chat/emulateguildtab.cpp b/src/gui/widgets/tabs/chat/emulateguildtab.cpp
index 88bff63c6..16b3e2c2e 100644
--- a/src/gui/widgets/tabs/chat/emulateguildtab.cpp
+++ b/src/gui/widgets/tabs/chat/emulateguildtab.cpp
@@ -82,7 +82,7 @@ void EmulateGuildTab::getAutoCompleteList(StringVect &names) const
if (guildManager == nullptr)
return;
- guildManager->getNames(names);
+ GuildManager::getNames(names);
}
void EmulateGuildTab::getAutoCompleteCommands(StringVect &names) const