diff options
Diffstat (limited to 'client/expandbutton.cc')
-rw-r--r-- | client/expandbutton.cc | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/client/expandbutton.cc b/client/expandbutton.cc index 13e44bf..124661a 100644 --- a/client/expandbutton.cc +++ b/client/expandbutton.cc @@ -31,19 +31,6 @@ ExpandButton::ExpandButton(QWidget * parent) : QPushButton(parent) { - -} - -void ExpandButton::focusInEvent(QFocusEvent * event) -{ - if (event) { - } - setStyleSheet("background-color: blue"); -} - -void ExpandButton::focusOutEvent(QFocusEvent * event) -{ - if (event) { - } - setStyleSheet("background-color:"); + setStyleSheet(":focus{ background-color: #2199e8; }" + ":hover{ background-color: #2199e8; }"); } |