Graphics: Qt-friendly change

Former-commit-id: b4b278897d681ea5361ce9f751a0ecba7acd34ee
This commit is contained in:
Lynix
2015-12-07 22:45:07 +01:00
parent 6284503da6
commit 93fae53ea5
2 changed files with 12 additions and 12 deletions

View File

@@ -49,11 +49,11 @@ namespace Nz
if (m_atlases.find(atlas) == m_atlases.end())
{
AtlasSlots& slots = m_atlases[atlas];
AtlasSlots& atlasSlots = m_atlases[atlas];
slots.clearSlot.Connect(atlas->OnAtlasCleared, this, &TextSprite::OnAtlasInvalidated);
slots.layerChangeSlot.Connect(atlas->OnAtlasLayerChange, this, &TextSprite::OnAtlasLayerChange);
slots.releaseSlot.Connect(atlas->OnAtlasRelease, this, &TextSprite::OnAtlasInvalidated);
atlasSlots.clearSlot.Connect(atlas->OnAtlasCleared, this, &TextSprite::OnAtlasInvalidated);
atlasSlots.layerChangeSlot.Connect(atlas->OnAtlasLayerChange, this, &TextSprite::OnAtlasLayerChange);
atlasSlots.releaseSlot.Connect(atlas->OnAtlasRelease, this, &TextSprite::OnAtlasInvalidated);
}
}