diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-06-02 18:04:51 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-06-02 18:04:51 +0300 |
commit | b8c8fed655bd54b9bc805fd599577e87a239788d (patch) | |
tree | 070faafcc3921f2e14db26d882df83d65ee4e811 /src/ui | |
parent | Don't mark messages from local user as unread (diff) | |
download | nheko-b8c8fed655bd54b9bc805fd599577e87a239788d.tar.xz |
Show confirmation dialog on logout
Minor stylistic refactoring closes #29
Diffstat (limited to '')
-rw-r--r-- | src/ui/FlatButton.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/FlatButton.cc b/src/ui/FlatButton.cc index a4f42a5d..183b2294 100644 --- a/src/ui/FlatButton.cc +++ b/src/ui/FlatButton.cc @@ -29,6 +29,7 @@ void FlatButton::init() setStyle(&ThemeManager::instance()); setAttribute(Qt::WA_Hover); setMouseTracking(true); + setCursor(QCursor(Qt::PointingHandCursor)); QPainterPath path; path.addRoundedRect(rect(), corner_radius_, corner_radius_); @@ -336,7 +337,7 @@ void FlatButton::mousePressEvent(QMouseEvent *event) ripple->setOpacityStartValue(0.35); ripple->setColor(foregroundColor()); ripple->radiusAnimation()->setDuration(250); - ripple->opacityAnimation()->setDuration(400); + ripple->opacityAnimation()->setDuration(250); ripple_overlay_->addRipple(ripple); } |