Add the wait cursor while validating toolchains
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 24 Feb 2009 10:06:41 +0000 (10:06 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 24 Feb 2009 10:06:41 +0000 (10:06 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2384 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BToolchainPage.py

index 22f96a4a279f69581b894529307cdf52d74a4cf0..a12a82a124fae23236b132aae6d9a65fe6e3519a 100644 (file)
@@ -114,8 +114,10 @@ class BToolchainPage(BWizardPage):
         search.exec_()
     
     def validateAllToolchains(self):
+        QApplication.instance().setOverrideCursor(Qt.WaitCursor)
         for i in range(self.pageContent.toolchainList.count()):
             self.validateToolchain(i)
+        QApplication.instance().restoreOverrideCursor()
     
     def validateToolchain(self, i):
         filename = qvariant_converter.getStringDict(self.pageContent.toolchainList.item(i).data(Qt.UserRole))["path"]