From: duplo Date: Fri, 23 Jan 2009 11:07:45 +0000 (+0000) Subject: Remove a not needed old statement X-Git-Tag: 2.1.0~469 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=81af9d37a22952d1b5c45cf09e5653c1b925e1d7;p=bertos.git Remove a not needed old statement git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2213 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BToolchainPage.py b/wizard/BToolchainPage.py index f76c70c1..392217ef 100644 --- a/wizard/BToolchainPage.py +++ b/wizard/BToolchainPage.py @@ -99,7 +99,7 @@ class BToolchainPage(BWizardPage): def removeToolchain(self): if self.pageContent.toolchainList.currentRow() != -1: item = self.pageContent.toolchainList.takeItem(self.pageContent.toolchainList.currentRow()) - toolchain = qvariant_converter.getString(qvariant_converter.getStringDict(item.data(Qt.UserRole))["path"]) + toolchain = qvariant_converter.getStringDict(item.data(Qt.UserRole))["path"] toolchains = self.toolchains() del toolchains[toolchain] self.setToolchains(toolchains)