Fixed two uninitialized reads on startup ({m_,}isShown)
svn path=/trunk/KDE/kdebase/workspace/; revision=1022869
This commit is contained in:
parent
76f17e6de1
commit
c4b279eed5
2 changed files with 2 additions and 0 deletions
|
@ -220,6 +220,7 @@ TabBox::TabBox( Workspace *ws )
|
|||
, wspace(ws)
|
||||
, display_refcount( 0 )
|
||||
{
|
||||
m_isShown = false;
|
||||
m_defaultConfig = TabBoxConfig();
|
||||
m_defaultConfig.setTabBoxMode( TabBoxConfig::ClientTabBox );
|
||||
m_defaultConfig.setClientListMode( TabBoxConfig::CurrentDesktopClientList );
|
||||
|
|
|
@ -91,6 +91,7 @@ class TabBoxHandlerPrivate
|
|||
|
||||
TabBoxHandlerPrivate::TabBoxHandlerPrivate()
|
||||
{
|
||||
isShown = false;
|
||||
config = TabBoxConfig();
|
||||
view = new TabBoxView();
|
||||
XSetWindowAttributes attr;
|
||||
|
|
Loading…
Reference in a new issue