Report : http://forum.videolan.org/viewtopic.php?f=13&t=59425&p=198466#p198450
cryptedLabel = NULL;
controls = NULL;
inputC = NULL;
+ b_shouldHide = false;
bgWasVisible = false;
i_bg_height = 0;
/* Final sizing and showing */
setMinimumWidth( __MAX( controls->sizeHint().width(),
menuBar()->sizeHint().width() ) );
- show();
+ setVisible( !b_shouldHide );
/* And switch to minimal view if needed
Must be called after the show() */
if( b_systrayAvailable )
{
b_systrayWanted = true;
- hide();
+ b_shouldHide = true;
}
else
msg_Err( p_intf, "cannot start minimized without system tray bar" );
pl_dock_e i_pl_dock;
bool isDocked() { return ( i_pl_dock != PL_UNDOCKED ); }
int i_bg_height; ///< Save height of bgWidget
+ bool b_shouldHide;
/* Status Bar */
QLabel *nameLabel;