summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-13 17:57:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-13 17:57:32 +0300
commitc4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf (patch)
tree37b78a9b847d938b5a34acf2f000fef3f31eef44 /src/gui/widgets
parent1302ad311b666459c4de36420af09c2a1e7867d0 (diff)
downloadmanaverse-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.gz
manaverse-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.bz2
manaverse-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.xz
manaverse-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.zip
Add missing const references to constructor parameters.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/shortcuttab.h2
-rw-r--r--src/gui/widgets/tabs/socialfriendstab.h2
-rw-r--r--src/gui/widgets/tabs/socialplayerstab.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/shortcuttab.h b/src/gui/widgets/tabs/shortcuttab.h
index 7c4419442..61652777f 100644
--- a/src/gui/widgets/tabs/shortcuttab.h
+++ b/src/gui/widgets/tabs/shortcuttab.h
@@ -31,7 +31,7 @@ class ShortcutTab final : public Tab
{
public:
ShortcutTab(const Widget2 *const widget,
- std::string name,
+ const std::string &name,
ShortcutContainer *const content) :
Tab(widget),
mContent(content)
diff --git a/src/gui/widgets/tabs/socialfriendstab.h b/src/gui/widgets/tabs/socialfriendstab.h
index 9c9525cd3..5bd13220b 100644
--- a/src/gui/widgets/tabs/socialfriendstab.h
+++ b/src/gui/widgets/tabs/socialfriendstab.h
@@ -42,7 +42,7 @@ class SocialFriendsTab final : public SocialTab
{
public:
SocialFriendsTab(const Widget2 *const widget,
- std::string name,
+ const std::string &name,
const Opaque showBackground) :
SocialTab(widget),
mBeings(new BeingsListModel),
diff --git a/src/gui/widgets/tabs/socialplayerstab.h b/src/gui/widgets/tabs/socialplayerstab.h
index f4c3f2bbe..87b0335c1 100644
--- a/src/gui/widgets/tabs/socialplayerstab.h
+++ b/src/gui/widgets/tabs/socialplayerstab.h
@@ -43,7 +43,7 @@ class SocialPlayersTab final : public SocialTab
{
public:
SocialPlayersTab(const Widget2 *const widget,
- std::string name,
+ const std::string &name,
const Opaque showBackground) :
SocialTab(widget),
mBeings(new BeingsListModel)