reverted changes

This commit is contained in:
Andreas Preikschat 2011-05-19 08:01:28 +02:00
parent 7829de8597
commit 875202deca
2 changed files with 0 additions and 10 deletions

View File

@ -785,7 +785,6 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
Receiver.send_message(u'cursor_busy')
self.image_manager.update_display()
self.renderer.update_display()
self.themeManagerContents.updatePreviewImages()
self.previewController.screenSizeChanged()
self.liveController.screenSizeChanged()
self.setFocus()

View File

@ -660,15 +660,6 @@ class ThemeManager(QtGui.QWidget):
pixmap.save(thumb, u'png')
log.debug(u'Theme image written to %s', samplepathname)
def updatePreviewImages(self):
"""
Called to update the themes' preview images.
"""
for theme in self.themelist:
self.generateAndSaveImage(
self.path, theme, self.getThemeData(theme))
self.loadThemes()
def generateImage(self, themeData, forcePage=False):
"""
Call the renderer to build a Sample Image