Minor : use Diagram::showMe() method instead of emit several signal to do the same thing

This commit is contained in:
Claveau Joshua
2020-10-02 19:41:17 +02:00
parent 8507040aa2
commit aa9266ab64
6 changed files with 1 additions and 26 deletions

View File

@@ -103,7 +103,6 @@ ElementsPanelWidget::ElementsPanelWidget(QWidget *parent) : QWidget(parent) {
connect(elements_panel, SIGNAL(currentItemChanged(QTreeWidgetItem *, QTreeWidgetItem *)), this, SLOT(updateButtons()));
connect(elements_panel, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(handleContextMenu(const QPoint &)));
connect(elements_panel, SIGNAL(requestForDiagram(Diagram*)), this, SIGNAL(requestForDiagram(Diagram*)));
connect(
elements_panel,
SIGNAL(requestForTitleBlockTemplate(const TitleBlockTemplateLocation &)),