]> git.siccegge.de Git - frida/frida.git/blobdiff - src/core/Comment.cxx
Move to Qt Signal/Slots
[frida/frida.git] / src / core / Comment.cxx
index 983366e8d90a18c7b33d70890bd78f1f685af536..2e6ce6153ef694c6e1867116ac0c75e618c0871f 100644 (file)
@@ -17,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;
 void Comment::setText(const std::string& text) {
        ChangeCommentEvent event(address, location, this);
        this->text = text;
-       manager->dispatch(&event);
+       Q_EMIT manager->changeCommentEvent(&event);
 }
 
 uint64_t Comment::getAddress() {
 }
 
 uint64_t Comment::getAddress() {