[scribus] add scribus-to-double.patch patch
Peter Robinson
pbrobinson at fedoraproject.org
Thu Aug 9 10:30:42 UTC 2012
commit 88edae3929686ed9f3ce04068331f71184620e42
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Thu Aug 9 12:30:38 2012 +0200
add scribus-to-double.patch patch
scribus-to-double.patch | 43 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/scribus-to-double.patch b/scribus-to-double.patch
new file mode 100644
index 0000000..a646867
--- /dev/null
+++ b/scribus-to-double.patch
@@ -0,0 +1,43 @@
+--- Scribus/scribus/ui/modetoolbar.h.orig 2012-08-06 19:23:10.575771593 -0400
++++ Scribus/scribus/ui/modetoolbar.h 2012-08-06 19:23:17.106075153 -0400
+@@ -51,13 +51,13 @@
+
+ int SubMode;
+ int ValCount;
+- qreal *ShapeVals;
++ double *ShapeVals;
+
+ virtual void changeEvent(QEvent *e);
+
+ public slots:
+ void GetPolyProps();
+- void SelShape(int s, int c, qreal *vals);
++ void SelShape(int s, int c, double *vals);
+ void languageChange();
+
+ protected:
+-void ModeToolBar::SelShape(int s, int c, qreal *vals)
++void ModeToolBar::SelShape(int s, int c, double *vals)
+ {
+ m_ScMW->scrActions["toolsInsertShape"]->setIcon(QIcon(Rechteck->getIconPixmap(s,16)));
+ // insertShapeButtonMenu->hide();
+--- Scribus/scribus/ui/modetoolbar.cpp.orig 2012-08-06 20:58:27.562827072 -0400
++++ Scribus/scribus/ui/modetoolbar.cpp 2012-08-06 20:59:13.344968068 -0400
+@@ -40,7 +40,7 @@
+ {
+ SubMode = 0;
+ ValCount = 32;
+- static qreal AutoShapes0[] = {0.0, 0.0, 0.0, 0.0, 100.0, 0.0, 100.0, 0.0, 100.0, 0.0, 100.0, 0.0,
++ static double AutoShapes0[] = {0.0, 0.0, 0.0, 0.0, 100.0, 0.0, 100.0, 0.0, 100.0, 0.0, 100.0, 0.0,
+ 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0.0, 100.0, 0.0, 100.0,
+ 0.0, 100.0, 0.0, 100.0, 0.0, 0.0, 0.0, 0.0};
+ ShapeVals = AutoShapes0;
+@@ -95,7 +95,7 @@
+ delete dia;
+ }
+
+-void ModeToolBar::SelShape(int s, int c, qreal *vals)
++void ModeToolBar::SelShape(int s, int c, double *vals)
+ {
+ m_ScMW->scrActions["toolsInsertShape"]->setIcon(QIcon(Rechteck->getIconPixmap(s,16)));
+ // insertShapeButtonMenu->hide();
More information about the scm-commits
mailing list