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 #121
This commit is contained in:
Sergio Martins
2020-12-28 13:02:54 -08:00
parent 003ec5aa5b
commit 92063ab61b

View File

@@ -256,10 +256,6 @@ void StateDragging::onEntry()
QWindow *window = fw->windowHandle();
window->startSystemMove();
// Mouse press was done in another window, so we need to ungrab
ReleaseCapture();
PostMessage(hwnd, WM_SYSCOMMAND, 0xF012, 0); // SC_DRAGMOVE
}
# endif
#endif