diff --git a/cockatrice/src/game_graphics/player/player_graphics_item.cpp b/cockatrice/src/game_graphics/player/player_graphics_item.cpp index a6f6d2e86..315ba4082 100644 --- a/cockatrice/src/game_graphics/player/player_graphics_item.cpp +++ b/cockatrice/src/game_graphics/player/player_graphics_item.cpp @@ -131,7 +131,6 @@ void PlayerGraphicsItem::initializeZones() // Command zone commandZoneGraphicsItem = new CommandZone(player->getCommandZone(), ZoneSizes::COMMAND_ZONE_HEIGHT, this); - commandZoneGraphicsItem->setZValue(ZValues::COMMAND_ZONE); commandZoneGraphicsItem->setVisible(false); connect(commandZoneGraphicsItem, &CommandZone::minimizedChanged, this, &PlayerGraphicsItem::rearrangeZones); connect(commandZoneGraphicsItem, &CommandZone::effectiveHeightChanged, this, &PlayerGraphicsItem::rearrangeZones); diff --git a/cockatrice/src/game_graphics/z_values.h b/cockatrice/src/game_graphics/z_values.h index 7b30054a9..8847c2233 100644 --- a/cockatrice/src/game_graphics/z_values.h +++ b/cockatrice/src/game_graphics/z_values.h @@ -29,9 +29,6 @@ namespace ZValues { -/** @brief Command zone sits at standard zone level */ -constexpr qreal COMMAND_ZONE = 1.0; - // Expose base for callers that need it constexpr qreal OVERLAY_BASE = ZValueLayerManager::OVERLAY_BASE;