124 if page.broken: |
124 if page.broken: |
125 imgSource = "qrc:icons/brokenPage.png" |
125 imgSource = "qrc:icons/brokenPage.png" |
126 else: |
126 else: |
127 imgSource = self.__imageFileName(page.url) |
127 imgSource = self.__imageFileName(page.url) |
128 if not os.path.exists(imgSource): |
128 if not os.path.exists(imgSource): |
129 self.loadThumbnail(page.url) |
129 self.loadThumbnail(page.url, False) |
130 imgSource = "qrc:icons/loading.gif" |
130 imgSource = "qrc:icons/loading.gif" |
131 |
131 |
132 if not page.url: |
132 if not page.url: |
133 imgSource = "" |
133 imgSource = "" |
134 else: |
134 else: |