1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-18 13:48:37 -04:00

Add parent to delegate constructors.

This commit is contained in:
srcejon
2024-04-10 01:33:42 +01:00
parent 6979117b26
commit 5e79f06c0e
12 changed files with 28 additions and 20 deletions
+4 -2
View File
@@ -20,13 +20,15 @@
#include "int64delegate.h"
#include "int64validator.h"
Int64Delegate::Int64Delegate() :
Int64Delegate::Int64Delegate(QObject *parent) :
QStyledItemDelegate(parent),
m_min(-std::numeric_limits<qint64>::max()),
m_max(std::numeric_limits<qint64>::max())
{
}
Int64Delegate::Int64Delegate(qint64 min, qint64 max) :
Int64Delegate::Int64Delegate(qint64 min, qint64 max, QObject *parent) :
QStyledItemDelegate(parent),
m_min(min),
m_max(max)
{