mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Fix warnings
This commit is contained in:
parent
3e147ec804
commit
1b392ee53c
@ -111,6 +111,9 @@ QString FrequencyDelegate::displayText(const QVariant &value, const QLocale &loc
|
||||
|
||||
QWidget* FrequencyDelegate::createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const
|
||||
{
|
||||
(void) option;
|
||||
(void) index;
|
||||
|
||||
QLineEdit* editor = new QLineEdit(parent);
|
||||
QIntValidator* validator = new QIntValidator();
|
||||
validator->setBottom(0);
|
||||
@ -134,5 +137,6 @@ void FrequencyDelegate::setModelData(QWidget* editor, QAbstractItemModel* model,
|
||||
|
||||
void FrequencyDelegate::updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const
|
||||
{
|
||||
(void) index;
|
||||
editor->setGeometry(option.rect);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user