summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui.cpp4
-rw-r--r--src/gui/widgets/label.cpp2
-rw-r--r--src/gui/widgets/label.h3
-rw-r--r--src/gui/widgets/tabs/tab.cpp2
-rw-r--r--src/gui/widgets/tabs/tab.h2
5 files changed, 7 insertions, 6 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 294f4fc89..f0a4137c1 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -292,8 +292,8 @@ Gui::~Gui()
setTop(nullptr);
delete2(mFocusHandler);
- Label::final();
- Tab::final();
+ Label::finalCleanup();
+ Tab::finalCleanup();
}
void Gui::logic()
diff --git a/src/gui/widgets/label.cpp b/src/gui/widgets/label.cpp
index c32b72b99..af6fa973d 100644
--- a/src/gui/widgets/label.cpp
+++ b/src/gui/widgets/label.cpp
@@ -285,7 +285,7 @@ void Label::widgetHidden(const Event &event A_UNUSED)
mTextChunk.deleteImage();
}
-void Label::final()
+void Label::finalCleanup()
{
mSkin = nullptr;
}
diff --git a/src/gui/widgets/label.h b/src/gui/widgets/label.h
index 028d1e8d5..b0240b74c 100644
--- a/src/gui/widgets/label.h
+++ b/src/gui/widgets/label.h
@@ -172,7 +172,8 @@ class Label final : public Widget,
static int mInstances;
- static void final();
+ static void finalCleanup();
+
private:
/**
* Holds the caption of the label.
diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp
index 39e966886..25cab2221 100644
--- a/src/gui/widgets/tabs/tab.cpp
+++ b/src/gui/widgets/tabs/tab.cpp
@@ -479,7 +479,7 @@ void Tab::mouseExited(MouseEvent& event A_UNUSED)
mHasMouse = false;
}
-void Tab::final()
+void Tab::finalCleanup()
{
for (int f = 0; f < TAB_COUNT; f ++)
{
diff --git a/src/gui/widgets/tabs/tab.h b/src/gui/widgets/tabs/tab.h
index 74b9f46be..042d0e0a8 100644
--- a/src/gui/widgets/tabs/tab.h
+++ b/src/gui/widgets/tabs/tab.h
@@ -202,7 +202,7 @@ class Tab notfinal : public BasicContainer,
void setImage(Image *const image);
- static void final();
+ static void finalCleanup();
protected:
friend class TabbedArea;