Fix #8149 (getting this error message when i try to open up book details in new 0.7.36version)

This commit is contained in:
Kovid Goyal 2011-01-01 16:36:06 -07:00
parent 2dd9368f0b
commit 2e7a4c9d4e

View File

@ -23,7 +23,7 @@ class BookInfo(QDialog, Ui_BookInfo):
self.cover_pixmap = None self.cover_pixmap = None
self.comments.sizeHint = self.comments_size_hint self.comments.sizeHint = self.comments_size_hint
self.comments.page().setLinkDelegationPolicy(self.comments.page().DelegateAllLinks) self.comments.page().setLinkDelegationPolicy(self.comments.page().DelegateAllLinks)
self.comments.linkClicked(self.link_clicked) self.comments.linkClicked.connect(self.link_clicked)
self.view_func = view_func self.view_func = view_func