aboutsummaryrefslogtreecommitdiffstats
path: root/gui/line_editor.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-22 13:22:19 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-22 13:22:19 +0200
commitab88bfdae137f38df0cc575405a05112b2ce4be1 (patch)
tree53171f08c9a45d3fa1ad3eec15fc37c05797bb1f /gui/line_editor.cc
parent6633441e32c99d09133e4a62c122a377a4af4ad1 (diff)
parent7f368282700172925428e45f23b8b61e0bf39f94 (diff)
downloadnextpnr-ab88bfdae137f38df0cc575405a05112b2ce4be1.tar.gz
nextpnr-ab88bfdae137f38df0cc575405a05112b2ce4be1.tar.bz2
nextpnr-ab88bfdae137f38df0cc575405a05112b2ce4be1.zip
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'gui/line_editor.cc')
-rw-r--r--gui/line_editor.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/line_editor.cc b/gui/line_editor.cc
index b5ed955f..6299c9cc 100644
--- a/gui/line_editor.cc
+++ b/gui/line_editor.cc
@@ -1,7 +1,8 @@
#include "line_editor.h"
-
#include <QKeyEvent>
+NEXTPNR_NAMESPACE_BEGIN
+
LineEditor::LineEditor(QWidget *parent) : QLineEdit(parent), index(0)
{
setContextMenuPolicy(Qt::CustomContextMenu);
@@ -64,4 +65,6 @@ void LineEditor::clearHistory()
lines.clear();
index = 0;
clear();
-} \ No newline at end of file
+}
+
+NEXTPNR_NAMESPACE_END \ No newline at end of file