Fixed Clear Picture Cache action under Qt which was broken.

This commit is contained in:
Virgil Dupras 2011-12-12 13:37:45 -05:00
parent ca602480d9
commit be53b6de76
1 changed files with 1 additions and 1 deletions

View File

@ -25,6 +25,6 @@ class ResultWindow(ResultWindowBase):
title = tr("Clear Picture Cache")
msg = tr("Do you really want to remove all your cached picture analysis?")
if self.app.confirm(title, msg, QMessageBox.No):
self.app.scanner.clear_picture_cache()
self.app.model.scanner.clear_picture_cache()
QMessageBox.information(self, title, tr("Picture cache cleared."))