diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-10-01 12:11:33 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-10-01 12:51:29 +0300 |
commit | 0c0ac68bc2e23fe1590614bb961a21a4bb09d0dc (patch) | |
tree | 11da9fbb7105834401d8e7999d42a4107221aa37 /src/ui/TextField.cc | |
parent | Merge pull request #82 from rokups/fix/#50 (diff) | |
download | nheko-0c0ac68bc2e23fe1590614bb961a21a4bb09d0dc.tar.xz |
Remove extra clang-format options
Diffstat (limited to 'src/ui/TextField.cc')
-rw-r--r-- | src/ui/TextField.cc | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/ui/TextField.cc b/src/ui/TextField.cc index efa77c39..e038f2dd 100644 --- a/src/ui/TextField.cc +++ b/src/ui/TextField.cc @@ -32,9 +32,7 @@ TextField::TextField(QWidget *parent) QCoreApplication::processEvents(); } -TextField::~TextField() -{ -} +TextField::~TextField() {} void TextField::setBackgroundColor(const QColor &color) @@ -199,7 +197,8 @@ TextField::paintEvent(QPaintEvent *event) if (text().isEmpty()) { painter.setOpacity(1 - state_machine_->progress()); - // painter.fillRect(rect(), parentWidget()->palette().color(backgroundRole())); + // painter.fillRect(rect(), + // parentWidget()->palette().color(backgroundRole())); painter.fillRect(rect(), backgroundColor()); } @@ -273,9 +272,7 @@ TextFieldStateMachine::TextFieldStateMachine(TextField *parent) connect(text_field_, SIGNAL(textChanged(QString)), this, SLOT(setupProperties())); } -TextFieldStateMachine::~TextFieldStateMachine() -{ -} +TextFieldStateMachine::~TextFieldStateMachine() {} void TextFieldStateMachine::setLabel(TextFieldLabel *label) @@ -352,9 +349,7 @@ TextFieldLabel::TextFieldLabel(TextField *parent) setFont(font); } -TextFieldLabel::~TextFieldLabel() -{ -} +TextFieldLabel::~TextFieldLabel() {} void TextFieldLabel::paintEvent(QPaintEvent *) |