Remove unused member Workspace::m_mainPart

This commit is contained in:
David Capello 2013-03-27 21:44:58 -03:00
parent da946ed90c
commit 462a80f246
2 changed files with 2 additions and 4 deletions

View File

@ -35,13 +35,12 @@ using namespace widgets;
Workspace::Workspace()
: Box(JI_VERTICAL)
, m_mainPart(new WorkspacePart)
, m_activePart(m_mainPart)
, m_activePart(new WorkspacePart)
{
SkinTheme* theme = static_cast<SkinTheme*>(getTheme());
setBgColor(theme->getColor(ThemeColor::Workspace));
addChild(m_mainPart);
addChild(m_activePart);
}
Workspace::~Workspace()

View File

@ -55,7 +55,6 @@ namespace widgets {
// All views of all parts.
WorkspaceViews m_views;
WorkspacePart* m_mainPart;
WorkspacePart* m_activePart;
};