diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-06-22 20:16:49 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-06-22 20:25:47 +0100 |
commit | ac1fcefdb10917e2887de617d810cdb8312ca5bf (patch) | |
tree | 20a428dcb355b20e8413988532257fe4708f2093 /gui/designwidget.cc | |
parent | 0508fb3627966bd1298b614190fb9160cbcba415 (diff) | |
download | nextpnr-ac1fcefdb10917e2887de617d810cdb8312ca5bf.tar.gz nextpnr-ac1fcefdb10917e2887de617d810cdb8312ca5bf.tar.bz2 nextpnr-ac1fcefdb10917e2887de617d810cdb8312ca5bf.zip |
OpenGL 3.1, VAO/VBO
Diffstat (limited to 'gui/designwidget.cc')
-rw-r--r-- | gui/designwidget.cc | 8 |
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);
|