From: duplo Date: Thu, 18 Dec 2008 14:19:45 +0000 (+0000) Subject: Add explicit conversion from QString to python str (FIXME: pyqt does not do it automa... X-Git-Tag: 2.1.0~600 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=1313ecb416588a689fb510051b37027895566bef;p=bertos.git Add explicit conversion from QString to python str (FIXME: pyqt does not do it automatically?) git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2082 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BVersionPage.py b/wizard/BVersionPage.py index b9d42bc1..5ba51bd1 100644 --- a/wizard/BVersionPage.py +++ b/wizard/BVersionPage.py @@ -60,7 +60,7 @@ class BVersionPage(BWizardPage): def isComplete(self): if self.pageContent.versionList.currentRow() != -1: - self._projectInfoStore("SOURCES_PATH", self.pageContent.versionList.currentItem().data(Qt.UserRole).toString()) + self._projectInfoStore("SOURCES_PATH", str(self.pageContent.versionList.currentItem().data(Qt.UserRole).toString())) return True else: return False