slackbuilds_ponce/academic/QtiPlot/qtiplot-0.9.8.9-private.patch
David Spencer 9434f258ee academic/QtiPlot: Patched for building with sip-4.16.
Also fixed library plugin location.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
2016-01-17 09:40:16 +07:00

16 lines
697 B
Diff

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;