mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-19 05:13:40 +00:00
Merge branch 'qt6'
This commit is contained in:
commit
50dd9e6002
30 changed files with 6857 additions and 7706 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue