From 6e8705eeb36d59cc3f7de32ae6b384b13af7d1b1 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 1 Apr 2015 12:35:28 -0300 Subject: [PATCH] Remove unused variables in tabs.cpp --- src/app/ui/tabs.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/app/ui/tabs.cpp b/src/app/ui/tabs.cpp index c40631319..626be72fe 100644 --- a/src/app/ui/tabs.cpp +++ b/src/app/ui/tabs.cpp @@ -387,7 +387,6 @@ bool Tabs::onProcessMessage(Message* msg) void Tabs::onPaint(PaintEvent& ev) { - SkinTheme* theme = static_cast(this->getTheme()); Graphics* g = ev.getGraphics(); gfx::Rect rect = getClientBounds(); gfx::Rect box(rect.x, rect.y, rect.w, @@ -443,7 +442,6 @@ void Tabs::onResize(ResizeEvent& ev) void Tabs::onPreferredSize(PreferredSizeEvent& ev) { - SkinTheme* theme = static_cast(this->getTheme()); gfx::Size reqsize(0, 0); if (m_list.empty() && animation() == ANI_NONE) @@ -731,7 +729,6 @@ void Tabs::stopDrag(DropTabResult result) gfx::Rect Tabs::getTabBounds(Tab* tab) { - SkinTheme* theme = static_cast(this->getTheme()); gfx::Rect rect = getClientBounds(); gfx::Rect box(rect.x, rect.y, rect.w, (m_list.empty() && animation() == ANI_NONE ? 0: @@ -755,7 +752,6 @@ void Tabs::createFloatingTab(TabPtr& tab) { ASSERT(!m_floatingOverlay); - SkinTheme* theme = static_cast(this->getTheme()); she::Surface* surface = she::instance()->createRgbaSurface( tab->width, m_tabsHeight);