r15232 by jghali - #9183 : mouse arrow with "minus" symbol remains when moving guideline across the page border and back
scribus-commit
scribus-commit at lists.scribus.net
Sat Jun 19 03:00:19 CEST 2010
Revision: 15232
Author: jghali
Date: 2010-06-19T00:51:55.424773Z
Commit message: #9183 : mouse arrow with "minus" symbol remains when moving guideline across the page border and back
Changeset:
M /branches/Version135/Scribus/scribus/canvasgesture_rulermove.cpp
Diffs:
Index: scribus/canvasgesture_rulermove.cpp
===================================================================
--- scribus/canvasgesture_rulermove.cpp (revision 15231)
+++ scribus/canvasgesture_rulermove.cpp (revision 15232)
@@ -194,6 +194,12 @@
m_page = page;
}
}
+ else
+ {
+ QCursor* cursor = qApp->overrideCursor();
+ if (cursor && (cursor->shape() != Qt::SplitVCursor))
+ qApp->changeOverrideCursor(QCursor(Qt::SplitVCursor));
+ }
m_currentGuide = mousePointDoc.y() - m_doc->Pages->at(page)->yOffset();
}
else
@@ -239,6 +245,12 @@
m_page = page;
}
}
+ else
+ {
+ QCursor* cursor = qApp->overrideCursor();
+ if (cursor && (cursor->shape() != Qt::SplitHCursor))
+ qApp->changeOverrideCursor(QCursor(Qt::SplitHCursor));
+ }
m_currentGuide = mousePointDoc.x() - m_doc->Pages->at(page)->xOffset();
}
else
More information about the scribus-commit
mailing list