Merge pull request #3231 from torusrxxx/torusrxxx-patch-1
Fix QObject::connect: No such slot SourceView::followDisassemblerSlot()
This commit is contained in:
commit
3e1b3d61bc
|
@ -27,8 +27,8 @@ SourceView::SourceView(QString path, duint addr, QWidget* parent)
|
|||
setupContextMenu();
|
||||
|
||||
connect(this, SIGNAL(contextMenuSignal(QPoint)), this, SLOT(contextMenuSlot(QPoint)));
|
||||
connect(this, SIGNAL(doubleClickedSignal()), this, SLOT(followDisassemblerSlot()));
|
||||
connect(this, SIGNAL(enterPressedSignal()), this, SLOT(followDisassemblerSlot()));
|
||||
connect(this, SIGNAL(doubleClickedSignal()), mCommonActions, SLOT(followDisassemblySlot()));
|
||||
connect(this, SIGNAL(enterPressedSignal()), mCommonActions, SLOT(followDisassemblySlot()));
|
||||
connect(Bridge::getBridge(), SIGNAL(updateDisassembly()), this, SLOT(reloadData()));
|
||||
|
||||
Initialize();
|
||||
|
|
|
@ -48,7 +48,6 @@ void SourceViewerManager::loadSourceFile(QString path, duint addr)
|
|||
if(idx != -1)
|
||||
title = path.mid(idx + 1);
|
||||
SourceView* newView = new SourceView(path, addr, this);
|
||||
connect(newView, SIGNAL(showCpu()), this, SIGNAL(showCpu()));
|
||||
addTab(newView, title);
|
||||
setCurrentIndex(count() - 1);
|
||||
// https://forum.qt.io/post/132664
|
||||
|
|
Loading…
Reference in New Issue