diff --git a/src/gui/kernel/qcursor_x11.cpp b/src/gui/kernel/qcursor_x11.cpp index a09efdeca..8364cee45 100644 --- a/src/gui/kernel/qcursor_x11.cpp +++ b/src/gui/kernel/qcursor_x11.cpp @@ -255,10 +255,10 @@ void QCursorData::update() } #ifndef QT_NO_XCURSOR - if (!hcurs && CursorTbl[cshape].alternative) - hcurs = XcursorLibraryLoadCursor(dpy, CursorTbl[cshape].alternative); if (!hcurs) hcurs = XcursorLibraryLoadCursor(dpy, CursorTbl[cshape].name); + if (!hcurs && CursorTbl[cshape].alternative) + hcurs = XcursorLibraryLoadCursor(dpy, CursorTbl[cshape].alternative); if (hcurs) return; #endif // QT_NO_XCURSOR