'Initialize a new instance of this class. Retrieve mirror settings from
the main dialog to check the update information.
:param parent: An instance of :class:`~gui.qdialog_d.QDialogDaemon`
class to fetch settings from.
:type parent: :class:`~gui.qdialog_d.QDialogDaemon`
.. warning:: :attr:`parent` MUST NOT be set as `None`.'

def __init__(self, parent):

    super(QSubChkUpdate, self).__init__(parent)
    self.url = (parent.mirrors[parent.mirror_id]['update'] + parent.infofile)
