From: duplo Date: Wed, 28 Jan 2009 14:33:51 +0000 (+0000) Subject: Remove the last slash in the folder name and add a qstring->unicode conversion of... X-Git-Tag: 2.1.0~444 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=a2b7cef2ca39b35ae66710801a0228e6b821d0aa;p=bertos.git Remove the last slash in the folder name and add a qstring->unicode conversion of the path git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2238 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BFolderPage.py b/wizard/BFolderPage.py index f92b4577..dc53d10c 100644 --- a/wizard/BFolderPage.py +++ b/wizard/BFolderPage.py @@ -45,7 +45,7 @@ class BFolderPage(BWizardPage): if self._destinationFolder != "" and self._projectName <> "": if not self._destinationFolder.endswith(os.sep): self._destinationFolder += os.sep - self.pageContent.projectPath.setText(self._destinationFolder + self._projectName + "/") + self.pageContent.projectPath.setText(self._destinationFolder + self._projectName) else: self.pageContent.projectPath.setText("None") self.emit(SIGNAL("completeChanged()")) @@ -57,7 +57,7 @@ class BFolderPage(BWizardPage): def isComplete(self): if self.pageContent.projectPath.text() != "None": - self._projectInfoStore("PROJECT_PATH", self.pageContent.projectPath.text()) + self._projectInfoStore("PROJECT_PATH", unicode(self.pageContent.projectPath.text())) return True else: return False \ No newline at end of file