mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-10-02 14:00:08 -05:00
zoneView weirdness fix
This commit is contained in:
@@ -144,8 +144,8 @@ void GameScene::removeZoneView(ZoneViewWidget *item)
|
||||
|
||||
void GameScene::clearViews()
|
||||
{
|
||||
for (int i = 0; i < zoneViews.size(); ++i)
|
||||
zoneViews[i]->close();
|
||||
while (!zoneViews.isEmpty())
|
||||
zoneViews.first()->close();
|
||||
}
|
||||
|
||||
void GameScene::closeMostRecentZoneView()
|
||||
|
||||
Reference in New Issue
Block a user