Changed the generic QEvent to LogDocumentAddResourceEvent