Changeset da30ddf for src/UIElements/Menu/Qt4/QMenu_tooltip.hpp
- Timestamp:
- Apr 23, 2021, 8:31:23 PM (5 years ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- ba49d8
- Parents:
- 61cc0f
- git-author:
- Frederik Heber <frederik.heber@…> (08/03/20 21:17:53)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/23/21 20:31:23)
- File:
-
- 1 edited
-
src/UIElements/Menu/Qt4/QMenu_tooltip.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Menu/Qt4/QMenu_tooltip.hpp
r61cc0f rda30ddf 37 37 const QHelpEvent *helpEvent = static_cast <QHelpEvent *>(e); 38 38 // call QToolTip::showText on that QAction's tooltip. 39 QToolTip::showText(helpEvent->globalPos(), activeAction()->toolTip()); 39 QAction *active = activeAction(); 40 if (active != NULL) 41 QToolTip::showText(helpEvent->globalPos(), activeAction()->toolTip()); 40 42 } else { 41 43 QToolTip::hideText();
Note:
See TracChangeset
for help on using the changeset viewer.
