summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-13 01:19:29 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-13 01:19:29 +0300
commitc5151e4f593a688d2af71169c44b688f6e67c999 (patch)
tree1082c6c52966374e07f724151a9ed90149469963 /src
parentd3d31c610596e5bea55242fbdae42ab48b108cc8 (diff)
downloadmanaplus-c5151e4f593a688d2af71169c44b688f6e67c999.tar.gz
manaplus-c5151e4f593a688d2af71169c44b688f6e67c999.tar.bz2
manaplus-c5151e4f593a688d2af71169c44b688f6e67c999.tar.xz
manaplus-c5151e4f593a688d2af71169c44b688f6e67c999.zip
Fix compilation warning.
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;