From c5151e4f593a688d2af71169c44b688f6e67c999 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 Jul 2012 01:19:29 +0300 Subject: Fix compilation warning. --- src/gui/widgets/tab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets') 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; -- cgit v1.2.3-70-g09d2