summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/widgets/tab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp
index d2236c1d8..ebc288b43 100644
--- a/src/gui/widgets/tab.cpp
+++ b/src/gui/widgets/tab.cpp
@@ -82,7 +82,7 @@ Tab::~Tab()
{
Theme *theme = Theme::instance();
for (int mode = 0; mode < TAB_COUNT; mode ++)
- Theme::instance()->unloadRect(tabImg[mode]);
+ theme->unloadRect(tabImg[mode]);
}
delete mVertexes;
mVertexes = nullptr;