From 33d882f071b4445bcb41921c99be7f33217897b1 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Sun, 28 Jul 2013 22:55:22 +0300
Subject: move bools in tabbedarea.

---
 src/gui/widgets/tabbedarea.cpp |  4 ++--
 src/gui/widgets/tabbedarea.h   | 11 +++--------
 2 files changed, 5 insertions(+), 10 deletions(-)

(limited to 'src/gui')

diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index 3a9ded199..5e3af38d4 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -44,12 +44,12 @@ TabbedArea::TabbedArea(const Widget2 *const widget) :
     mWidgetContainer(new gcn::Container()),
     mTabsToDelete(),
     mTabs(),
-    mOpaque(false),
     mTabsWidth(0),
     mVisibleTabsWidth(0),
     mTabScrollIndex(0),
-    mEnableScrollButtons(false),
     mRightMargin(0),
+    mOpaque(false),
+    mEnableScrollButtons(false),
     mFollowDownScroll(false),
     mBlockSwitching(true),
     mResizeHeight(true)
diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h
index 114d549ff..ec0b43b5e 100644
--- a/src/gui/widgets/tabbedarea.h
+++ b/src/gui/widgets/tabbedarea.h
@@ -201,17 +201,11 @@ class TabbedArea final : public Widget2,
         void updateTabsWidth();
 
         Tab* mSelectedTab;
-
         gcn::Container* mTabContainer;
-
         gcn::Container* mWidgetContainer;
-
         std::vector<Tab*> mTabsToDelete;
-
         std::vector<std::pair<Tab*, gcn::Widget*> > mTabs;
 
-        bool mOpaque;
-
         /**
          * The overall width of all tab.
          */
@@ -234,10 +228,11 @@ class TabbedArea final : public Widget2,
          * So the first tab displayed may not be the first in the list.
          * @note the index must start at 0.
          */
-        unsigned mTabScrollIndex;
+        unsigned int mTabScrollIndex;
+        int mRightMargin;
 
+        bool mOpaque;
         bool mEnableScrollButtons;
-        int mRightMargin;
         bool mFollowDownScroll;
         bool mBlockSwitching;
         bool mResizeHeight;
-- 
cgit v1.2.3-70-g09d2