Simplify AttachmentModel::data
No need to explicitely convert to QVariant, this is done implicitely already.