Merge branch 'qt6'

This commit is contained in:
Jan Käberich 2023-03-28 11:54:20 +02:00
commit 50dd9e6002
30 changed files with 6857 additions and 7706 deletions

View file

@ -13,6 +13,7 @@
#include <math.h>
#include <QDebug>
#include <QColorDialog>
#include <QActionGroup>
using namespace std;
@ -755,7 +756,7 @@ QVariant SmithChartContantLineModel::data(const QModelIndex &index, int role) co
auto line = chart.constantLines[index.row()];
switch(index.column()) {
case ColIndexColor:
if (role == Qt::BackgroundColorRole) {
if (role == Qt::BackgroundRole) {
return line.getColor();
}
break;