Sat, 29 Jan 2011 16:53:23 +0100
Fixed the forgotten __open() method in DownloadItem.py.
Helpviewer/Download/DownloadItem.py | file | annotate | diff | comparison | revisions |
--- a/Helpviewer/Download/DownloadItem.py Sat Jan 29 11:41:19 2011 +0100 +++ b/Helpviewer/Download/DownloadItem.py Sat Jan 29 16:53:23 2011 +0100 @@ -247,6 +247,14 @@ i += 1 return name + def __open(self): + """ + Private slot to open the downloaded file. + """ + info = QFileInfo(self.__output) + url = QUrl.fromLocalFile(info.absoluteFilePath()) + QDesktopServices.openUrl(url) + @pyqtSlot() def on_tryAgainButton_clicked(self): """