BUTTONACT( updateButton, UpdateOrDownload() );
BUTTONACT( closeButton, close() );
- /* create the update structure and the callback */
- p_update = update_New( _p_intf );
+ /* Create the update structure */
+ initUpdate();
b_checked = false;
/* Check for updates */
updateButton->setEnabled( true );
}
+/* Initialise the p_update struct */
+void UpdateDialog::initUpdate()
+{
+ p_update = update_New( p_intf );
+}
#endif