r21393 by craig -

scribus-commit scribus-commit at lists.scribus.net
Mon Jun 27 21:22:31 UTC 2016


Author: craig
Date: Mon Jun 27 21:22:31 2016
New Revision: 21393

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21393
Log:
Fix rotation mode function names in ScribusDoc, some more

Modified:
    trunk/Scribus/scribus/ui/pageitempositionsetter.cpp
    trunk/Scribus/scribus/ui/pageitemrotationsetter.cpp

Modified: trunk/Scribus/scribus/ui/pageitempositionsetter.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21393&path=/trunk/Scribus/scribus/ui/pageitempositionsetter.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/pageitempositionsetter.cpp	(original)
+++ trunk/Scribus/scribus/ui/pageitempositionsetter.cpp	Mon Jun 27 21:22:31 2016
@@ -80,7 +80,7 @@
 	yposSpinBox->setNewUnit(unitIndex);
 	widthSpinBox->setNewUnit(unitIndex);
 	heightSpinBox->setNewUnit(unitIndex);
-	rotmode = refItem->m_Doc->RotMode();
+	rotmode = refItem->m_Doc->rotationMode();
 	updateValues();
 }
 

Modified: trunk/Scribus/scribus/ui/pageitemrotationsetter.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21393&path=/trunk/Scribus/scribus/ui/pageitemrotationsetter.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/pageitemrotationsetter.cpp	(original)
+++ trunk/Scribus/scribus/ui/pageitemrotationsetter.cpp	Mon Jun 27 21:22:31 2016
@@ -136,7 +136,7 @@
 
 void PageItemRotationSetter::rotate(double angle, PageItem * item)
 {
-	int rotMode = item->m_Doc->RotMode();
+	int rotMode = item->m_Doc->rotationMode();
 	if (rotMode != 0)
 	{
 		QTransform ma;




More information about the scribus-commit mailing list