-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add qdarkstyle dep for grc (qt) and patches to fix running grc-qt (#264)
automerged PR by conda-forge/automerge-action
- Loading branch information
Showing
3 changed files
with
66 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
recipe/0005-grc-qt-Don-t-error-when-missing-manifests-dir.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Ryan Volz <ryan.volz@gmail.com> | ||
Date: Fri, 26 Apr 2024 15:28:30 -0400 | ||
Subject: [PATCH] grc-qt: Don't error when missing manifests dir | ||
|
||
Signed-off-by: Ryan Volz <ryan.volz@gmail.com> | ||
--- | ||
grc/gui_qt/components/oot_browser.py | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/grc/gui_qt/components/oot_browser.py b/grc/gui_qt/components/oot_browser.py | ||
index f25f67cd4..5e599e697 100644 | ||
--- a/grc/gui_qt/components/oot_browser.py | ||
+++ b/grc/gui_qt/components/oot_browser.py | ||
@@ -31,6 +31,9 @@ class OOTBrowser(QtWidgets.QDialog, base.Component): | ||
|
||
self.manifest_dir = os.path.join(Paths.RESOURCES, "manifests") | ||
|
||
+ if not os.path.exists(self.manifest_dir): | ||
+ return | ||
+ | ||
for f in os.listdir(self.manifest_dir): | ||
with open(os.path.join(self.manifest_dir, f), 'r', encoding='utf8') as manifest: | ||
text = manifest.read() | ||
-- | ||
2.42.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters