summaryrefslogtreecommitdiffstats
path: root/academic/QtiPlot/qtiplot-0.9.8.9-private.patch
diff options
context:
space:
mode:
Diffstat (limited to 'academic/QtiPlot/qtiplot-0.9.8.9-private.patch')
-rw-r--r--academic/QtiPlot/qtiplot-0.9.8.9-private.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/academic/QtiPlot/qtiplot-0.9.8.9-private.patch b/academic/QtiPlot/qtiplot-0.9.8.9-private.patch
new file mode 100644
index 0000000000..1dd92fd1a3
--- /dev/null
+++ b/academic/QtiPlot/qtiplot-0.9.8.9-private.patch
@@ -0,0 +1,16 @@
+diff -ruN qtiplot-0.9.8.9.orig/qtiplot/src/plot2D/ImageWidget.h qtiplot-0.9.8.9/qtiplot/src/plot2D/ImageWidget.h
+--- qtiplot-0.9.8.9.orig/qtiplot/src/plot2D/ImageWidget.h 2010-10-17 09:04:05.000000000 +0200
++++ qtiplot-0.9.8.9/qtiplot/src/plot2D/ImageWidget.h 2013-11-01 12:11:36.559973891 +0100
+@@ -67,10 +67,10 @@
+ void setWindowName(const QString& name){d_window_name = name;};
+
+ static QPixmap windowPixmap(ApplicationWindow *mw, const QString& name, const QSize& size);
++ void paintEvent(QPaintEvent *e);
+
+ private:
+ void draw(QPainter *painter, const QRect& r);
+- void paintEvent(QPaintEvent *e);
+ QPixmap d_pix;
+ //! The file from which the image was loaded.
+ QString d_file_name;
+