r15233 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:35 CEST 2010
Revision: 15233
Author: jghali
Date: 2010-06-19T00:53:30.750798Z
Commit message: #9183 : mouse arrow with "minus" symbol remains when moving guideline across the page border and back
Changeset:
M /trunk/Scribus/scribus/canvasgesture_rulermove.cpp
Diffs:
Index: scribus/canvasgesture_rulermove.cpp
===================================================================
--- scribus/canvasgesture_rulermove.cpp (revision 15232)
+++ scribus/canvasgesture_rulermove.cpp (revision 15233)
@@ -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