slackbuilds_ponce/academic/QtiPlot/qtiplot-0.9.8.9-private.patch

17 lines
697 B
Diff
Raw Normal View History

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;