Skip to content

Commit 92063ab

Browse files
committed
Remove some duplicate code, Qt does the same already
Recently Qt implemented something similar. Since we only support aero snap with Qt 5.15 we dont need KDDW's native win32 code anymore cc issue KDAB#121
1 parent 003ec5a commit 92063ab

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/private/DragController.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,6 @@ void StateDragging::onEntry()
256256

257257
QWindow *window = fw->windowHandle();
258258
window->startSystemMove();
259-
260-
// Mouse press was done in another window, so we need to ungrab
261-
ReleaseCapture();
262-
PostMessage(hwnd, WM_SYSCOMMAND, 0xF012, 0); // SC_DRAGMOVE
263259
}
264260
# endif
265261
#endif

0 commit comments

Comments
 (0)