Skip to content

Commit

Permalink
Merge pull request #61 from trmdi/master
Browse files Browse the repository at this point in the history
Remove unneeded lines
  • Loading branch information
kupiqu authored Dec 11, 2019
2 parents 3aade6e + 8076693 commit 51b9d99
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions breezedecoration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,7 @@ namespace Breeze
{
if (objectName() != "applet-window-buttons") {
const bool groupContains = m_leftButtons->geometry().contains(event->posF()) || m_rightButtons->geometry().contains(event->posF());
bool buttonContains = m_buttonHovered;

if (groupContains && !m_buttonHovered)
buttonContains = true;

setButtonHovered(groupContains && buttonContains);
setButtonHovered(groupContains);
}

KDecoration2::Decoration::hoverMoveEvent(event);
Expand Down

0 comments on commit 51b9d99

Please sign in to comment.