changeset 1611:a6e37c28d762

Fix some Qt deprecations
author Chris Cannam
date Tue, 16 Jun 2020 15:16:50 +0100
parents bd1a7c84da8c
children 129c704566ff fe9a643b83bf
files layer/WaveformLayer.cpp view/Overview.cpp widgets/CSVExportDialog.cpp
diffstat 3 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp	Thu May 14 16:38:09 2020 +0100
+++ b/layer/WaveformLayer.cpp	Tue Jun 16 15:16:50 2020 +0100
@@ -27,6 +27,7 @@
 #include "data/model/WaveformOversampler.h"
 
 #include <QPainter>
+#include <QPainterPath>
 #include <QPixmap>
 #include <QTextStream>
 
--- a/view/Overview.cpp	Thu May 14 16:38:09 2020 +0100
+++ b/view/Overview.cpp	Tue Jun 16 15:16:50 2020 +0100
@@ -20,6 +20,7 @@
 
 #include <QPaintEvent>
 #include <QPainter>
+#include <QPainterPath>
 #include <iostream>
 
 //#define DEBUG_OVERVIEW 1
--- a/widgets/CSVExportDialog.cpp	Thu May 14 16:38:09 2020 +0100
+++ b/widgets/CSVExportDialog.cpp	Tue Jun 16 15:16:50 2020 +0100
@@ -70,7 +70,7 @@
         defaultSeparator = '\t';
     }
     
-    rowColLayout->addWidget(new QLabel(tr("Column separator:"), 0, 0));
+    rowColLayout->addWidget(new QLabel(tr("Column separator:")));
     m_separatorCombo = new QComboBox;
     for (auto p: separators) {
         if (p.second == '\t' || p.second == ' ') {