Changeset 448 for trunk/src/gui/kernel/qapplication_pm.cpp
- Timestamp:
- Jan 13, 2010, 9:14:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qapplication_pm.cpp
r447 r448 117 117 118 118 static HWND autoCaptureWnd = NULLHANDLE; 119 static bool autoCaptureReleased = FALSE;119 static bool autoCaptureReleased = false; 120 120 static void setAutoCapture(HWND); // automatic capture 121 121 static void releaseAutoCapture(); … … 2117 2117 } 2118 2118 #endif 2119 2120 /*! 2121 \internal 2122 In DnD, the mouse release event never appears, so the 2123 mouse button state machine must be manually reset. 2124 */ 2125 void qt_pmMouseButtonUp() 2126 { 2127 // release any stored mouse capture 2128 qt_button_down = 0; 2129 autoCaptureReleased = true; 2130 releaseAutoCapture(); 2131 } 2119 2132 2120 2133 //
Note:
See TracChangeset
for help on using the changeset viewer.