Changeset 603 for trunk/src/gui/util/qsystemtrayicon_pm.cpp
- Timestamp:
- Feb 25, 2010, 4:31:14 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/util/qsystemtrayicon_pm.cpp
r564 r603 121 121 RECTL rcl; 122 122 if (xstQuerySysTrayIconRect(winId(), 0, &rcl)) { 123 int sh = QApplication::desktop()->height();123 int sh = height(); 124 124 // flip y coordinates 125 125 rcl.yTop = sh - rcl.yTop; … … 213 213 QPoint gpos(pMsg->ptsPointerPos.x, 214 214 // flip y coordinate 215 QApplication::desktop()->height() - 216 (pMsg->ptsPointerPos.y + 1)); 215 qt_display_height() - (pMsg->ptsPointerPos.y + 1)); 217 216 q->contextMenu()->popup(gpos); 218 217 q->contextMenu()->activateWindow();
Note:
See TracChangeset
for help on using the changeset viewer.