1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-29 02:40:05 +00:00

Plugin hosting cleanups + workarounds for some Mackie plugins.

This commit is contained in:
jules 2013-05-03 15:39:34 +01:00
parent 886cd92eda
commit 178dc9012b
6 changed files with 60 additions and 82 deletions

View file

@ -644,7 +644,8 @@ ComponentPeer* Component::getPeer() const
{
if (flags.hasHeavyweightPeerFlag)
return ComponentPeer::getPeerFor (this);
else if (parentComponent == nullptr)
if (parentComponent == nullptr)
return nullptr;
return parentComponent->getPeer();