Commit d640968a authored by Rémi Duraffort's avatar Rémi Duraffort

qt4: fix uninitialized values on win < Vista.

parent b6dbc749
......@@ -362,6 +362,11 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
}
CONNECT( THEMIM->getIM(), statusChanged( int ), this, changeThumbbarButtons( int ) );
}
else
{
himl = NULL;
p_taskbl = NULL;
}
#endif
}
......@@ -383,6 +388,7 @@ MainInterface::~MainInterface()
}
#ifdef WIN32
if( himl )
ImageList_Destroy( himl );
if(p_taskbl)
p_taskbl->vt->Release(p_taskbl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment