]> git.siccegge.de Git - frida/frida.git/blobdiff - src/core/Comment.cxx
Add doc repo as submodule
[frida/frida.git] / src / core / Comment.cxx
index 6ef19a2baa09dfa99186e8ddb359a149f27336d3..03c7668b5f1477e0b554b2e6f16b4244e02ea853 100644 (file)
@@ -2,7 +2,7 @@
 #include "Function.hxx"
 #include "InformationManager.hxx"
 #include "events/ChangeCommentEvent.hxx"
-#include "gui/qt.hxx"
+#include "qt.hxx"
 
 Comment::Comment(uint64_t address, InformationManager* manager)
        : address(address)
@@ -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;
-       manager->dispatch(&event);
+       emit manager->changeCommentEvent(&event);
 }
 
 uint64_t Comment::getAddress() {