#ifndef HAVE_MAEMO
sysTray = NULL;
#endif
- playlistVisible = false;
- input_name = "";
fullscreenControls = NULL;
cryptedLabel = NULL;
controls = NULL;
inputC = NULL;
- b_shouldHide = false;
+
+ b_hideAfterCreation = false;
+ playlistVisible = false; // FIXME remove
+ input_name = "";
stackCentralOldState = HIDDEN_TAB;
i_bg_height = 0;
debug();
/* Final sizing and showing */
- setVisible( !b_shouldHide );
+ setVisible( !b_hideAfterCreation );
//setMinimumSize( QSize( 0, 0 ) );
// setMinimumWidth( __MAX( controls->sizeHint().width(),
// menuBar()->sizeHint().width() ) );
/* Unsure we hide the videoWidget before destroying it */
if( stackCentralOldState == VIDEO_TAB )
- {
showBg();
- }
/* Save playlist state */
if( playlistWidget )
QVLCTools::saveWidgetPosition(settings, this);
settings->endGroup();
-
/* Unregister callbacks */
var_DelCallback( p_intf->p_libvlc, "intf-show", IntfShowCB, p_intf );
var_DelCallback( p_intf->p_libvlc, "intf-popupmenu", PopupMenuCB, p_intf );
if( b_systrayAvailable )
{
b_systrayWanted = true;
- b_shouldHide = true;
+ b_hideAfterCreation = true;
}
else
msg_Err( p_intf, "cannot start minimized without system tray bar" );
msg_Dbg( p_intf, "Status minimumsize: %i - %i", statusBar()->minimumSize().height(), statusBar()->minimumSize().width() );
msg_Dbg( p_intf, "minimumsize: %i - %i", minimumSize().height(), minimumSize().width() );
-
/*if( videoWidget && videoWidget->isVisible() )
{
msg_Dbg( p_intf, "size: %i - %i", size().height(), size().width() );