From 1313ecb416588a689fb510051b37027895566bef Mon Sep 17 00:00:00 2001 From: duplo Date: Thu, 18 Dec 2008 14:19:45 +0000 Subject: [PATCH] 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 --- wizard/BVersionPage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1