diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-23 16:06:49 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-23 16:06:49 +0200 |
commit | 4b78ae15dfbcdb197cfe4a8e27cdae6e4005c292 (patch) | |
tree | d95e8367c2e3ed2f8cb35f21ad1252c76bf5587b /gui/infotab.cc | |
parent | c0b1078c12b80d9add270eec560bd7cdc433d4da (diff) | |
download | nextpnr-4b78ae15dfbcdb197cfe4a8e27cdae6e4005c292.tar.gz nextpnr-4b78ae15dfbcdb197cfe4a8e27cdae6e4005c292.tar.bz2 nextpnr-4b78ae15dfbcdb197cfe4a8e27cdae6e4005c292.zip |
clangformat cleanup
Diffstat (limited to 'gui/infotab.cc')
-rw-r--r-- | gui/infotab.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gui/infotab.cc b/gui/infotab.cc index 9127bd06..dd44b806 100644 --- a/gui/infotab.cc +++ b/gui/infotab.cc @@ -37,8 +37,7 @@ InfoTab::InfoTab(QWidget *parent) : QWidget(parent) contextMenu = plainTextEdit->createStandardContextMenu();
contextMenu->addSeparator();
contextMenu->addAction(clearAction);
- connect(plainTextEdit, SIGNAL(customContextMenuRequested(const QPoint)),
- this, SLOT(showContextMenu(const QPoint)));
+ connect(plainTextEdit, SIGNAL(customContextMenuRequested(const QPoint)), this, SLOT(showContextMenu(const QPoint)));
QGridLayout *mainLayout = new QGridLayout();
mainLayout->addWidget(plainTextEdit);
@@ -52,10 +51,7 @@ void InfoTab::info(std::string str) plainTextEdit->moveCursor(QTextCursor::End);
}
-void InfoTab::showContextMenu(const QPoint &pt)
-{
- contextMenu->exec(mapToGlobal(pt));
-}
+void InfoTab::showContextMenu(const QPoint &pt) { contextMenu->exec(mapToGlobal(pt)); }
void InfoTab::clearBuffer() { plainTextEdit->clear(); }
|