From d0f7a1fe5516543e27da8e238e94c41e5e011d1f Mon Sep 17 00:00:00 2001 From: Nathan Hui Date: Tue, 21 May 2024 10:37:44 -0700 Subject: [PATCH] fix: Removes setPrefixPath --- RctGcs/rctGCS.py | 4 ---- tests/test_configuration.py | 3 --- 2 files changed, 7 deletions(-) diff --git a/RctGcs/rctGCS.py b/RctGcs/rctGCS.py index 2e71e8d..9d16389 100644 --- a/RctGcs/rctGCS.py +++ b/RctGcs/rctGCS.py @@ -125,10 +125,6 @@ def main(): app = QgsApplication([], True) - # prefix_path = configSetup() - - # QgsApplication.setPrefixPath(str(prefix_path), True) - app.initQgis() ex = GCS() diff --git a/tests/test_configuration.py b/tests/test_configuration.py index 43eb382..ad4248a 100644 --- a/tests/test_configuration.py +++ b/tests/test_configuration.py @@ -13,8 +13,5 @@ def test_configuration(): - # with get_instance(get_config_path()) as config: - # prefix_path = config.qgis_prefix_path - # QgsApplication.setPrefixPath(str(prefix_path), True) default_styles = QgsStyle.defaultStyle() assert len(default_styles.colorRampNames()) > 0