mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-02 22:34:52 -04:00
--User changes
-Add variations filter/selection dialog. --Bug fixes -Fix summary window not properly indicating the presence of pose affine. -Remove a file named Fractorium.aps which had been erroneously committed a year ago. --Code changes -Use qobject_cast instead of dynamic_cast where appropriate. -Add more override keyword where appropriate. -Add variations list to settings for filter dialog.
This commit is contained in:
@ -77,7 +77,7 @@ void Fractorium::ForEachXformCheckbox(std::function<void(int, QCheckBox*)> func)
|
||||
|
||||
while (QLayoutItem* child = m_XformsSelectionLayout->itemAt(i))
|
||||
{
|
||||
if (auto* w = dynamic_cast<QCheckBox*>(child->widget()))
|
||||
if (auto* w = qobject_cast<QCheckBox*>(child->widget()))
|
||||
{
|
||||
func(i, w);
|
||||
}
|
||||
@ -97,7 +97,7 @@ bool FractoriumEmberController<T>::XformCheckboxAt(int i, std::function<void(QCh
|
||||
{
|
||||
if (QLayoutItem* child = m_Fractorium->m_XformsSelectionLayout->itemAt(i))
|
||||
{
|
||||
if (auto* w = dynamic_cast<QCheckBox*>(child->widget()))
|
||||
if (auto* w = qobject_cast<QCheckBox*>(child->widget()))
|
||||
{
|
||||
func(w);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user