projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for toolchains stored in the windows registry
[bertos.git]
/
wizard
/
BToolchainPage.py
diff --git
a/wizard/BToolchainPage.py
b/wizard/BToolchainPage.py
index 2587cf2019bc9fd768baf199c7b4aa870db12f90..c012a200307032f3fb25aef78da8100ecf5e3d91 100644
(file)
--- a/
wizard/BToolchainPage.py
+++ b/
wizard/BToolchainPage.py
@@
-136,6
+136,11
@@
class BToolchainPage(BWizardPage):
Fills the toolchain list with the toolchains stored in the QSettings.
"""
toolchains = self.toolchains()
Fills the toolchain list with the toolchains stored in the QSettings.
"""
toolchains = self.toolchains()
+ if os.name == "nt":
+ import winreg_importer
+ stored_toolchains = winreg_importer.getBertosToolchains()
+ for toolchain in stored_toolchains:
+ toolchains[toolchain] = True
sel_toolchain = self.projectInfo("TOOLCHAIN")
for key, value in toolchains.items():
item = QListWidgetItem(key)
sel_toolchain = self.projectInfo("TOOLCHAIN")
for key, value in toolchains.items():
item = QListWidgetItem(key)