Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/echQoQ/RustSL
/ get_folder_icon
Function
get_folder_icon
gui/ui_components.py:9–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
8
9
def
get_folder_icon():
10
icon_path = os.path.join(
'gui'
,
'icons'
,
'folder.ico'
)
11
return
QIcon(icon_path)
if
os.path.exists(icon_path)
else
QIcon()
12
13
14
def
get_icon(icon_name):
Callers
1
init_ui
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected