Skip to content
Snippets Groups Projects
Commit 4d4aa839 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

Fix missed assignment of cursorSource

parent b628c798
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ void MyItem::setCursorSource(const QUrl &source)
{
if (cursorSource_ == source)
return;
cursorSource_ = source;
QPixmap pix(QQmlFile::urlToLocalFileOrQrc(source));
setCursor(QCursor(pix));
emit cursorSourceChanged(source);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment