summaryrefslogtreecommitdiff
path: root/vcl/qt5/Qt5Data.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qt5/Qt5Data.cxx')
-rw-r--r--vcl/qt5/Qt5Data.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Data.cxx b/vcl/qt5/Qt5Data.cxx
index c50f8c57ddc6..45e71765bac1 100644
--- a/vcl/qt5/Qt5Data.cxx
+++ b/vcl/qt5/Qt5Data.cxx
@@ -150,6 +150,8 @@
#include <unx/x11_cursors/wshide_mask.h>
#include <unx/x11_cursors/wsshow_curs.h>
#include <unx/x11_cursors/wsshow_mask.h>
+#include <unx/x11_cursors/fatcross_curs.h>
+#include <unx/x11_cursors/fatcross_mask.h>
#include <unx/glyphcache.hxx>
@@ -181,7 +183,6 @@ static QCursor* getQCursorFromXBM(const unsigned char* pBitmap, const unsigned c
QBitmap aMask = QBitmap::fromData(QSize(nWidth, nHeight), pMask);
return new QCursor(aPixmap, aMask, nXHot, nYHot);
}
-
#define MAKE_CURSOR(vcl_name, name) \
case vcl_name: \
pCursor = getQCursorFromXBM(name##curs##_bits, name##mask##_bits, name##curs_width, \
@@ -302,6 +303,8 @@ QCursor& Qt5Data::getCursor(PointerStyle ePointerStyle)
MAKE_CURSOR(PointerStyle::HideWhitespace, hidewhitespace_);
MAKE_CURSOR(PointerStyle::ShowWhitespace, showwhitespace_);
+
+ MAKE_CURSOR(PointerStyle::FatCross, fatcross_);
default:
break;
}