X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FInformationManager.cxx;h=b7229d376854639dfc8cc16fbece136f2ef9bed2;hp=b9649829c48a3554367358e16ad5d21a047b6e5e;hb=1b43b26ba9b23cb5f3004db7b9b00f6b08227563;hpb=919a772f027ac9ac5e611b47a3dad44b611a443c diff --git a/src/core/InformationManager.cxx b/src/core/InformationManager.cxx index b964982..b7229d3 100644 --- a/src/core/InformationManager.cxx +++ b/src/core/InformationManager.cxx @@ -7,7 +7,7 @@ #include "core/events/NewFunctionEvent.hxx" #include "core/events/ChangeCommentEvent.hxx" -#include "gui/qt.hxx" +#include "qt.hxx" #include #include @@ -270,7 +270,7 @@ void InformationManager::finishFunction(Function* fun) { blocks.insert(std::make_pair(bl->getStartAddress(), bl)); } NewFunctionEvent event(fun->getStartAddress(), fun); - dispatch(&event); + Q_EMIT newFunctionEvent(&event); } void InformationManager::finishBasicBlock(BasicBlock*) { @@ -279,7 +279,7 @@ void InformationManager::finishBasicBlock(BasicBlock*) { void InformationManager::finishComment(Comment* c) { LOG4CXX_DEBUG(logger, "Finishing comment " << c->getAddress()); ChangeCommentEvent event(c->getAddress(), c->getLocation(), c); - dispatch(&event); + Q_EMIT changeCommentEvent(&event); } void InformationManager::deleteFunction(Function* f) {