summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;