diff options
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/setup_input.cpp | 3 | ||||
-rw-r--r-- | src/gui/widgets/tabs/socialfriendsfunctor.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/tab.cpp | 1 |
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" |