

def config_theme_path():
    if (sys.platform != 'darwin'):
        return
    theme_name = str(QtGui.QIcon.themeName())
    if (theme_name != 'Oxygen'):
        QtGui.QIcon.setThemeName('Oxygen')
    search_paths = list(QtGui.QIcon.themeSearchPaths())
    custom_path = '/opt/local/share/icons'
    if (custom_path not in theme_name):
        search_paths.append(custom_path)
    QtGui.QIcon.setThemeSearchPaths(search_paths)

dataset/ETHPy150Open shuge/Qt-Python-Binding-Examples/common_widgets/icon/qutils.py config_theme_path/VarMisuse@77/121 `search_paths`->`theme_name`