Mercurial > hg > svgui
comparison widgets/PropertyBox.cpp @ 1591:26e80a450e74
Remove unused variable
author | Chris Cannam |
---|---|
date | Fri, 03 Apr 2020 11:35:40 +0100 |
parents | 2108af725460 |
children | a798a7b5e215 |
comparison
equal
deleted
inserted
replaced
1590:e660a00bc3b9 | 1591:26e80a450e74 |
---|---|
687 PropertyBox::contextMenuRequested(const QPoint &pos) | 687 PropertyBox::contextMenuRequested(const QPoint &pos) |
688 { | 688 { |
689 QObject *obj = sender(); | 689 QObject *obj = sender(); |
690 QString name = obj->objectName(); | 690 QString name = obj->objectName(); |
691 | 691 |
692 PropertyContainer::PropertyType type = m_container->getPropertyType(name); | |
693 QString label = m_container->getPropertyLabel(name); | 692 QString label = m_container->getPropertyLabel(name); |
694 int min = 0, max = 0, value = 0, deflt = 0; | 693 int min = 0, max = 0, value = 0, deflt = 0; |
695 value = m_container->getPropertyRangeAndValue(name, &min, &max, &deflt); | 694 value = m_container->getPropertyRangeAndValue(name, &min, &max, &deflt); |
696 | 695 |
697 delete m_lastContextMenu; | 696 delete m_lastContextMenu; |