mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 15:34:57 -04:00
Add parent to delegate constructors.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Copyright (C) 2012 maintech GmbH, Otto-Hahn-Str. 15, 97204 Hoechberg, Germany //
|
||||
// written by Christian Daniel //
|
||||
// Copyright (C) 2015-2020 Edouard Griffiths, F4EXB <f4exb06@gmail.com> //
|
||||
// Copyright (C) 2020-2022 Jon Beniston, M7RCE <jon@beniston.com> //
|
||||
// Copyright (C) 2020-2024 Jon Beniston, M7RCE <jon@beniston.com> //
|
||||
// //
|
||||
// This program is free software; you can redistribute it and/or modify //
|
||||
// it under the terms of the GNU General Public License as published by //
|
||||
@@ -22,7 +22,8 @@
|
||||
|
||||
#include "datetimedelegate.h"
|
||||
|
||||
DateTimeDelegate::DateTimeDelegate(QString format) :
|
||||
DateTimeDelegate::DateTimeDelegate(QString format, QObject *parent) :
|
||||
QStyledItemDelegate(parent),
|
||||
m_format(format)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user