diff --git a/src/resultsdisassemblypage.h b/src/resultsdisassemblypage.h index 4ff76dd0a..b12e5f6f3 100644 --- a/src/resultsdisassemblypage.h +++ b/src/resultsdisassemblypage.h @@ -52,7 +52,6 @@ class ResultsDisassemblyPage : public QWidget void clear(); void setupAsmViewModel(); - void showDisassembly(); void setSymbol(const Data::Symbol& data); void setCostsMap(const Data::CallerCalleeResults& callerCalleeResults); void setObjdump(const QString& objdump); @@ -65,6 +64,7 @@ class ResultsDisassemblyPage : public QWidget private: void showDisassembly(const DisassemblyOutput& disassemblyOutput); + void showDisassembly(); std::unique_ptr ui; #if KFSyntaxHighlighting_FOUND diff --git a/src/resultspage.cpp b/src/resultspage.cpp index 189032805..e4591c981 100644 --- a/src/resultspage.cpp +++ b/src/resultspage.cpp @@ -238,7 +238,6 @@ void ResultsPage::onJumpToDisassembly(const Data::Symbol& symbol) { m_disassemblyDock->toggleAction()->setEnabled(true); m_resultsDisassemblyPage->setSymbol(symbol); - m_resultsDisassemblyPage->showDisassembly(); showDock(m_disassemblyDock); }