aboutsummaryrefslogtreecommitdiffstats
path: root/gui/designwidget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gui/designwidget.cc')
-rw-r--r--gui/designwidget.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/gui/designwidget.cc b/gui/designwidget.cc
index 0f87f06c..6752b780 100644
--- a/gui/designwidget.cc
+++ b/gui/designwidget.cc
@@ -24,7 +24,6 @@
#include <QSplitter>
#include <QTreeWidgetItem>
#include "fpgaviewwidget.h"
-#include "pybindings.h"
NEXTPNR_NAMESPACE_BEGIN
@@ -116,8 +115,8 @@ DesignWidget::DesignWidget(Context *_ctx, QWidget *parent)
QList<QTreeWidgetItem *> bel_items;
for (auto bel : ctx->getBels()) {
auto name = ctx->getBelName(bel);
- bel_items.append(
- new BelTreeItem(name, ElementType::BEL, QString(name.c_str(ctx))));
+ bel_items.append(new BelTreeItem(name, ElementType::BEL,
+ QString(name.c_str(ctx))));
}
bel_root->addChildren(bel_items);
@@ -140,8 +139,8 @@ DesignWidget::DesignWidget(Context *_ctx, QWidget *parent)
treeWidget->insertTopLevelItem(0, pip_root);
for (auto pip : ctx->getPips()) {
auto name = ctx->getPipName(pip);
- pip_items.append(
- new PipTreeItem(name, ElementType::PIP, QString(name.c_str(ctx))));
+ pip_items.append(new PipTreeItem(name, ElementType::PIP,
+ QString(name.c_str(ctx))));
}
pip_root->addChildren(pip_items);