Adds an attachment to this comment.
        
        :param      title      | <str>
                    attachment | <variant>

def addAttachment(self, title, attachment):
        """
        Adds an attachment to this comment.
        
        :param      title      | <str>
                    attachment | <variant>
        """
        self._attachments[title] = attachment
        self.resizeToContents()