X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FComment.cxx;h=03c7668b5f1477e0b554b2e6f16b4244e02ea853;hp=e864ef673cb71abc182a0b51cbc1d2aa8528a667;hb=HEAD;hpb=3a4fade0292b9b8776c6195467b70a8f25a3b1c7 diff --git a/src/core/Comment.cxx b/src/core/Comment.cxx index e864ef6..03c7668 100644 --- a/src/core/Comment.cxx +++ b/src/core/Comment.cxx @@ -2,6 +2,7 @@ #include "Function.hxx" #include "InformationManager.hxx" #include "events/ChangeCommentEvent.hxx" +#include "qt.hxx" Comment::Comment(uint64_t address, InformationManager* manager) : address(address) @@ -16,7 +17,7 @@ Comment::Comment(uint64_t address, Function* location, InformationManager* manag void Comment::setText(const std::string& text) { ChangeCommentEvent event(address, location, this); this->text = text; - manager->dispatch(&event); + emit manager->changeCommentEvent(&event); } uint64_t Comment::getAddress() {