Skip to content

Commit

Permalink
removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Samweli committed Dec 2, 2024
1 parent 005471d commit b611671
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions src/qgis_gea_plugin/gui/qgis_gea.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

)

from qgis.gui import QgsLayerTreeView, QgsMapToolCapture, QgsMessageBar
from qgis.gui import QgsLayerTreeView, QgsMessageBar

# Relative imports
from ..conf import Settings, settings_manager
Expand Down Expand Up @@ -115,8 +115,6 @@ def __init__(self, iface, parent=None):
self.restore_settings()

self.project_folder.fileChanged.connect(self.project_folder_changed)
#
# self.prepare_layers()

self.site_reference_le.textChanged.connect(self.save_settings)
self.site_ref_version_le.textChanged.connect(self.save_settings)
Expand Down Expand Up @@ -203,33 +201,6 @@ def __init__(self, iface, parent=None):

self.iface.projectRead.connect(self.prepare_time_slider)

# def prepare_layers(self):
#
# root = QgsProject.instance().layerTreeRoot()
#
# # Find or create the group
# group = self.find_group_by_name(
# PROJECT_INSTANCES_GROUP_NAME,
# root
# )
#
# if not group:
# return
#
# for child in group.children() or []:
# if not isinstance(child, QgsLayerTreeLayer):
# continue
#
# layer = child.layer()
#
# instance_symbol = QgsFillSymbol.createSimple(
# PROJECT_INSTANCE_BOUNDARY_STYLE
# )
# layer.renderer().setSymbol(
# instance_symbol
# )
# layer.triggerRepaint()

def animation_loop_toggled(self, value):
"""
Handles the toggling of the animation loop checkbox.
Expand Down

0 comments on commit b611671

Please sign in to comment.