summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/tab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-02 16:51:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-02 16:51:19 +0300
commit70a9ee7cc6a2402c33c3cdd33bc86f02fcb59ade (patch)
treeb36e2984b41b251797670a7569d03138e7f863ac /src/gui/widgets/tabs/tab.cpp
parentd0d872ffeff89facdd35ce358bd4d9b73cf8332c (diff)
downloadmanaplus-70a9ee7cc6a2402c33c3cdd33bc86f02fcb59ade.tar.gz
manaplus-70a9ee7cc6a2402c33c3cdd33bc86f02fcb59ade.tar.bz2
manaplus-70a9ee7cc6a2402c33c3cdd33bc86f02fcb59ade.tar.xz
manaplus-70a9ee7cc6a2402c33c3cdd33bc86f02fcb59ade.zip
Draw each window in unit tests.
Diffstat (limited to 'src/gui/widgets/tabs/tab.cpp')
-rw-r--r--src/gui/widgets/tabs/tab.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp
index 2555ca52b..39e966886 100644
--- a/src/gui/widgets/tabs/tab.cpp
+++ b/src/gui/widgets/tabs/tab.cpp
@@ -478,3 +478,11 @@ void Tab::mouseExited(MouseEvent& event A_UNUSED)
{
mHasMouse = false;
}
+
+void Tab::final()
+{
+ for (int f = 0; f < TAB_COUNT; f ++)
+ {
+ tabImg[f] = nullptr;
+ }
+}