summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-06 11:31:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-06 11:31:24 +0300
commit20ad155838f202584cb261ff8a33fd458a04d83f (patch)
tree7744905ed6c10e1b46b1c59223637324ba0174be /src/gui/widgets/tabs
parentcc6a796f11bdbce53b60c0992020c569f74dd9ce (diff)
downloadmanaverse-20ad155838f202584cb261ff8a33fd458a04d83f.tar.gz
manaverse-20ad155838f202584cb261ff8a33fd458a04d83f.tar.bz2
manaverse-20ad155838f202584cb261ff8a33fd458a04d83f.tar.xz
manaverse-20ad155838f202584cb261ff8a33fd458a04d83f.zip
Move redraw flag from widgets into base widget.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/tab.cpp1
-rw-r--r--src/gui/widgets/tabs/tab.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp
index c2a6c0207..e31bc9ef1 100644
--- a/src/gui/widgets/tabs/tab.cpp
+++ b/src/gui/widgets/tabs/tab.cpp
@@ -113,7 +113,6 @@ Tab::Tab(const Widget2 *const widget) :
mVertexes(new ImageCollection),
mImage(nullptr),
mMode(0),
- mRedraw(true),
mHasMouse(false)
{
init();
diff --git a/src/gui/widgets/tabs/tab.h b/src/gui/widgets/tabs/tab.h
index a0afa6fcd..4a88a5400 100644
--- a/src/gui/widgets/tabs/tab.h
+++ b/src/gui/widgets/tabs/tab.h
@@ -228,7 +228,6 @@ class Tab : public BasicContainer,
ImageCollection *mVertexes;
Image *mImage;
int mMode;
- bool mRedraw;
protected:
bool mHasMouse;