summaryrefslogtreecommitdiff
path: root/academic/QtiPlot/sip-4.15.patch
blob: 504223190aa9f9484515313b3afddd068601e3cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- ./qtiplot/src/analysis/FFT.cpp.orig	2011-07-06 11:51:08.000000000 +0000
+++ ./qtiplot/src/analysis/FFT.cpp	2013-10-23 23:07:45.674925476 +0000
@@ -353,7 +353,7 @@
 	ml->arrangeLayers(false, false);
 }
 
-bool FFT::setDataFromTable(Table *t, const QString& realColName, const QString& imagColName, int from, int to)
+bool FFT::setDataFromTable(Table *t, const QString& realColName, const QString& imagColName, int from, int to, bool unused)
 {
 	d_init_err = true;
 
--- ./qtiplot/src/analysis/FFT.h.orig	2011-07-05 22:05:03.000000000 +0000
+++ ./qtiplot/src/analysis/FFT.h	2013-10-23 23:11:34.277924367 +0000
@@ -52,6 +52,8 @@
 	Matrix *realOutputMatrix(){return d_re_out_matrix;}
 	Matrix *imaginaryOutputMatrix(){return d_im_out_matrix;}
 
+    bool setDataFromTable(Table *t, const QString& realColName, const QString& imagColName = QString(), int from = 0, int to = -1, bool unused = false);
+
 private:
     void init();
     void output();
@@ -60,8 +62,6 @@
 	void fftTable();
 	void fftMatrix();
 
-    bool setDataFromTable(Table *t, const QString& realColName, const QString& imagColName = QString(), int from = 0, int to = -1);
-
     double d_sampling;
     //! Flag telling if an inverse FFT must be performed.
     bool d_inverse;