p_update = update_New( p_intf );
b_checked = false;
- setMinimumSize( 300, 100 );
+ setMinimumSize( 300, 300 );
setMaximumSize( 400, 300 );
- readSettings( "Update", QSize( 300, 100 ) );
+ readSettings( "Update", QSize( 300, 250 ) );
/* Check for updates */
UpdateOrDownload();
if( config_GetInt( p_intf, "qt-privacy-ask") )
{
QList<ConfigControl *> controls;
- if( privacyDialog( controls ) == QDialog::Accepted )
+ if( privacyDialog( &controls ) == QDialog::Accepted )
{
QList<ConfigControl *>::Iterator i;
+ msg_Dbg( p_intf, "coin coin %i", controls.size() );
for( i = controls.begin() ; i != controls.end() ; i++ )
{
ConfigControl *c = qobject_cast<ConfigControl *>(*i);
}
}
-int MainInterface::privacyDialog( QList<ConfigControl *> controls )
+int MainInterface::privacyDialog( QList<ConfigControl *> *controls )
{
QDialog *privacy = new QDialog();
{ \
control = new type ## ConfigControl( VLC_OBJECT(p_intf), \
p_config, options, false, optionsLayout, line ); \
- controls.append( control ); \
+ controls->append( control ); \
}
#define CONFIG_GENERIC_NOBOOL( option, type ) \
{ \
control = new type ## ConfigControl( VLC_OBJECT(p_intf), \
p_config, options, optionsLayout, line ); \
- controls.append( control ); \
+ controls->append( control ); \
}
CONFIG_GENERIC( "album-art", IntegerList ); line++;