-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Effectchain tooltip #11902
Effectchain tooltip #11902
Conversation
f2b3f24
to
483c54b
Compare
populateMenu(); | ||
} | ||
|
||
void WEffectChainPresetButton::populateMenu() { | ||
m_pMenu->clear(); | ||
|
||
// Chain preset items | ||
const auto bem = m_pEffectsManager->getBackendManager(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const auto bem = m_pEffectsManager->getBackendManager(); | |
const auto* pBem = m_pEffectsManager->getBackendManager(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Else the pointer is const, not the object it is pointing to.
Below the same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This returns EffectsBackendManagerPointer
, I don't understand how EffectsBackendManager could be const here.
Now it's explicit const EffectsBackendManagerPointer
instead of const auto
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, yes I missed that. Thank you.
tooltip.append(bem->getDisplayNameForEffectPreset(pEffectPreset)); | ||
} | ||
} | ||
QAction* pAction(new QAction(title, this)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this become a parented_ptr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, done.
Thank you for this nice addition. |
483c54b
to
3405e10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you
@daschuer please resolve your review. |
We have the issue that Chains with a single effect are looking wrong, like this: Filter Can we use the pManifest->setDescription() instead? Filter Or just skip the bold headline? |
or just show
|
Single Bold Filter works for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thank you.
Manual Test are also good. Just waiting for CI results.
picking another low-hanging fruit to polish the new effects frontend:
show chained effects in tooltip of
Close #10605