aboutsummaryrefslogtreecommitdiffstats
path: root/gui/designwidget.cc
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2018-06-23 12:10:52 +0000
committerMiodrag Milanović <mmicko@gmail.com>2018-06-23 12:10:52 +0000
commitb63fdfbeab5abb390c5c2c7b069672c9c8e06c82 (patch)
treeb4a38469c49b36e0460cc68487bed89f34c64fe2 /gui/designwidget.cc
parentd72fe0c230f79248a56e47c2f31f14b15c7f13fe (diff)
parentac1fcefdb10917e2887de617d810cdb8312ca5bf (diff)
downloadnextpnr-b63fdfbeab5abb390c5c2c7b069672c9c8e06c82.tar.gz
nextpnr-b63fdfbeab5abb390c5c2c7b069672c9c8e06c82.tar.bz2
nextpnr-b63fdfbeab5abb390c5c2c7b069672c9c8e06c82.zip
Merge branch 'q3k/gl-vbo' into 'master'
OpenGL 3.1, VAO/VBO See merge request SymbioticEDA/nextpnr!2
Diffstat (limited to 'gui/designwidget.cc')
-rw-r--r--gui/designwidget.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/designwidget.cc b/gui/designwidget.cc
index 0f87f06c..95b76d81 100644
--- a/gui/designwidget.cc
+++ b/gui/designwidget.cc
@@ -116,8 +116,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 +140,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);