mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-11 22:14:31 +00:00
Remove unused member Workspace::m_mainPart
This commit is contained in:
parent
da946ed90c
commit
462a80f246
@ -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()
|
||||
|
@ -55,7 +55,6 @@ namespace widgets {
|
||||
|
||||
// All views of all parts.
|
||||
WorkspaceViews m_views;
|
||||
WorkspacePart* m_mainPart;
|
||||
WorkspacePart* m_activePart;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user