From 3d30edcc83a335f79910a6284b0a45416dd9df30 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 21 Dec 2010 13:48:32 -0700 Subject: [PATCH] Fix #8008 (QWebPage import error) --- src/calibre/gui2/comments_editor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/comments_editor.py b/src/calibre/gui2/comments_editor.py index d19c97e87b..ca93145915 100644 --- a/src/calibre/gui2/comments_editor.py +++ b/src/calibre/gui2/comments_editor.py @@ -11,9 +11,9 @@ from lxml import html from lxml.html import soupparser from PyQt4.Qt import QApplication, QFontInfo, QSize, QWidget, QPlainTextEdit, \ - QToolBar, QVBoxLayout, QAction, QIcon, QWebPage, Qt, QTabWidget, QUrl, \ + QToolBar, QVBoxLayout, QAction, QIcon, Qt, QTabWidget, QUrl, \ QSyntaxHighlighter, QColor, QChar, QColorDialog, QMenu, QInputDialog -from PyQt4.QtWebKit import QWebView +from PyQt4.QtWebKit import QWebView, QWebPage from calibre.ebooks.chardet import xml_to_unicode from calibre import xml_replace_entities