summary refs log tree commit diff
path: root/pkgs/applications/science/physics/elmerfem/patches/0003-ignore-qwt_compat.patch
blob: 26954008d5d40bf4abcc945ca78f5ebd2a641548 (plain) (blame)
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
33
34
35
36
From 26601fec36a4978e805aad40e6d0cbf268c653d2 Mon Sep 17 00:00:00 2001
From: grindhold <grindhold@gmx.net>
Date: Thu, 28 Apr 2022 17:13:06 +0200
Subject: [PATCH] ignore qwt_compat

---
 ElmerGUI/Application/src/convergenceview.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ElmerGUI/Application/src/convergenceview.h b/ElmerGUI/Application/src/convergenceview.h
index 377b644b..64250149 100755
--- a/ElmerGUI/Application/src/convergenceview.h
+++ b/ElmerGUI/Application/src/convergenceview.h
@@ -52,7 +52,7 @@
 #include <qwt_plot_grid.h>
 #include <qwt_legend.h>
 /*#include <qwt_data.h> <-- deprecated in Qwt6, using qwt_compat.h instead*/
-#include <qwt_compat.h>
+/*#include <qwt_compat.h>*/
 #include <qwt_text.h>
 #include <qwt_scale_engine.h>
 
@@ -76,8 +76,8 @@ public:
   
 private:
   int d_count;
-  QwtArray<double> d_x;
-  QwtArray<double> d_y;
+  QVector<double> d_x;
+  QVector<double> d_y;
 };
 
 class Curve
-- 
2.33.3