fix links in card layout screen

This commit is contained in:
Damien Elmes 2010-12-01 02:15:38 +09:00
parent 69a684f059
commit df2f09c253

View file

@ -97,7 +97,7 @@ class CardLayout(QDialog):
self.saveCard)
self.connect(self.form.flipButton, SIGNAL("clicked()"),
self.onFlip)
def linkClicked(self, url):
def linkClicked(url):
QDesktopServices.openUrl(QUrl(url))
self.form.preview.page().setLinkDelegationPolicy(
QWebPage.DelegateExternalLinks)