From: duplo Date: Tue, 24 Feb 2009 10:08:56 +0000 (+0000) Subject: Add the wait cursor while validating toolchains X-Git-Tag: 2.1.0~297 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=861b72bbf12340a6d838923e09db145d28538697;p=bertos.git Add the wait cursor while validating toolchains git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2385 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BCpuPage.py b/wizard/BCpuPage.py index 3fc339f2..3658635f 100644 --- a/wizard/BCpuPage.py +++ b/wizard/BCpuPage.py @@ -47,12 +47,14 @@ class BCpuPage(BWizardPage): self.pageContent.descriptionLabel.setText("") def reloadData(self): + QApplication.instance().setOverrideCursor(Qt.WaitCursor) bertos_utils.loadSourceTree(self._project()) self._populateCpuList() cpuName = self._projectInfoRetrieve("CPU_NAME") self._setupUi() if not cpuName is None: self._selectItem(cpuName) + QApplication.instance().restoreOverrideCursor() self.emit(SIGNAL("completeChanged()")) def isComplete(self):