Add explicit conversion from QString to python str (FIXME: pyqt does not do it automa...
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 18 Dec 2008 14:19:45 +0000 (14:19 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 18 Dec 2008 14:19:45 +0000 (14:19 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2082 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BVersionPage.py

index b9d42bc18defcdb17d86fd6d606eb19faf452a57..5ba51bd14841f05ea5a2b092756142418b56fa53 100644 (file)
@@ -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