summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-19 22:50:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-19 22:50:16 +0300
commitc65cb0d97fbaa37f531d6fb47ce9d798b001b637 (patch)
treecce1030add4a837913b9e730a5550a67d03d236e /src/gui/widgets/tabs
parent3d236906de18c846aa052f1d4cef1b0686a43854 (diff)
downloadmanaverse-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.gz
manaverse-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.bz2
manaverse-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.xz
manaverse-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.zip
fix code style.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/setup_input.cpp3
-rw-r--r--src/gui/widgets/tabs/socialfriendsfunctor.h2
-rw-r--r--src/gui/widgets/tabs/tab.cpp1
3 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/setup_input.cpp b/src/gui/widgets/tabs/setup_input.cpp
index 97aa7421f..9aaed0aef 100644
--- a/src/gui/widgets/tabs/setup_input.cpp
+++ b/src/gui/widgets/tabs/setup_input.cpp
@@ -215,7 +215,8 @@ void Setup_Input::action(const ActionEvent &event)
inputManager.setNewKeyIndex(ik);
refreshAssignedKey(mKeyList->getSelected());
inputManager.unassignKey();
- inputManager.setNewKeyIndex(static_cast<int>(InputAction::NO_VALUE));
+ inputManager.setNewKeyIndex(static_cast<int>(
+ InputAction::NO_VALUE));
}
mAssignKeyButton->setEnabled(true);
}
diff --git a/src/gui/widgets/tabs/socialfriendsfunctor.h b/src/gui/widgets/tabs/socialfriendsfunctor.h
index 1ad209adb..f8d110ed9 100644
--- a/src/gui/widgets/tabs/socialfriendsfunctor.h
+++ b/src/gui/widgets/tabs/socialfriendsfunctor.h
@@ -23,6 +23,8 @@
#include "avatar.h"
+#include "utils/stringutils.h"
+
#include "localconsts.h"
class SortFriendsFunctor final
diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp
index c88a47033..2ad0e8ac8 100644
--- a/src/gui/widgets/tabs/tab.cpp
+++ b/src/gui/widgets/tabs/tab.cpp
@@ -75,6 +75,7 @@
#include "gui/widgets/tabbedarea.h"
#include "resources/image.h"
+#include "resources/imagerect.h"
#include "utils/delete2.h"