diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2020-05-22 17:13:17 -0500 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2020-05-22 17:13:37 -0500 |
| commit | 8928aa2718378bc42d20d5bbe6c17be68d65d6f3 (patch) | |
| tree | bf90d3e73519d58cc89e2135b613e308ac0a0ed8 /src/aotextedit.cpp | |
| parent | 156a760ebab6839c53f9c613881f0937e814414a (diff) | |
Perform clang-format
If you don't want to see this commit on blames, use the hidden
whitespace option on GitHub, or use `-w` in git-blame.
Diffstat (limited to 'src/aotextedit.cpp')
| -rw-r--r-- | src/aotextedit.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/aotextedit.cpp b/src/aotextedit.cpp index 30e48b73..22d9a62e 100644 --- a/src/aotextedit.cpp +++ b/src/aotextedit.cpp @@ -4,7 +4,7 @@ AOTextEdit::AOTextEdit(QWidget *parent) : QPlainTextEdit(parent) { this->setReadOnly(true); - //connect(this, SIGNAL(returnPressed()), this, SLOT(on_enter_pressed())); + // connect(this, SIGNAL(returnPressed()), this, SLOT(on_enter_pressed())); } void AOTextEdit::mouseDoubleClickEvent(QMouseEvent *e) @@ -14,8 +14,4 @@ void AOTextEdit::mouseDoubleClickEvent(QMouseEvent *e) this->setReadOnly(false); } -void AOTextEdit::on_enter_pressed() -{ - this->setReadOnly(true); -} - +void AOTextEdit::on_enter_pressed() { this->setReadOnly(true); } |
