When youre stupid

This commit is contained in:
ArsenArsen 2017-05-15 11:19:52 +02:00
parent bc8766d234
commit 7411bca817

View File

@ -4,7 +4,7 @@
#include <QtWin> #include <QtWin>
#include <windows.h> #include <windows.h>
std::tuple<QPoint, QPixmap> getCursor() { std::tuple<QPoint, QPixmap> PlatformBackend::getCursor() {
CURSORINFO cursorInfo; CURSORINFO cursorInfo;
cursorInfo.cbSize = sizeof(cursorInfo); cursorInfo.cbSize = sizeof(cursorInfo);
if (GetCursorInfo(&cursorInfo)) { if (GetCursorInfo(&cursorInfo)) {