D23102: Reduce duplicate code calculating popup position

Frederik Gladhorn <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
gladhorn created this revision.
Herald added a project: KWin.
Herald added a subscriber: kwin.
gladhorn requested review of this revision.

REVISION SUMMARY
  The popup/exec if was duplicated three times, only to calculate the y position.

REPOSITORY
  R108 KWin

BRANCH
  improve_UserActionsMenu_show

REVISION DETAIL
  https://phabricator.kde.org/D23102

AFFECTED FILES
  useractions.cpp

To: gladhorn
Cc: kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.