r17421 by fschmid - Added a slot "setValue(int)" to fix some connection problems after the last patch.

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 8 09:32:32 UTC 2012


Author: fschmid
Date: Sun Apr  8 09:32:32 2012
New Revision: 17421

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17421
Log:
Added a slot "setValue(int)" to fix some connection problems after the last patch.

Modified:
    trunk/Scribus/scribus/ui/scrspinbox.cpp
    trunk/Scribus/scribus/ui/scrspinbox.h

Modified: trunk/Scribus/scribus/ui/scrspinbox.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17421&path=/trunk/Scribus/scribus/ui/scrspinbox.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/scrspinbox.cpp (original)
+++ trunk/Scribus/scribus/ui/scrspinbox.cpp Sun Apr  8 09:32:32 2012
@@ -49,6 +49,11 @@
 
 ScrSpinBox::~ScrSpinBox()
 {
+}
+
+void ScrSpinBox::setValue(int val)
+{
+	QDoubleSpinBox::setValue(val);
 }
 
 void ScrSpinBox::showValue(double val)

Modified: trunk/Scribus/scribus/ui/scrspinbox.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17421&path=/trunk/Scribus/scribus/ui/scrspinbox.h
==============================================================================
--- trunk/Scribus/scribus/ui/scrspinbox.h (original)
+++ trunk/Scribus/scribus/ui/scrspinbox.h Sun Apr  8 09:32:32 2012
@@ -47,6 +47,7 @@
 	public slots:
 		void setValues(double min, double max, int deci, double val);
 		void getValues(double *min, double *max, int *deci, double *val);
+		void setValue(int val);
 	
 	protected:
 		void setParameters( int s );




More information about the scribus-commit mailing list