diff --git a/src/calibre/gui2/book_details.py b/src/calibre/gui2/book_details.py index e5711bb31a..e193fe10b2 100644 --- a/src/calibre/gui2/book_details.py +++ b/src/calibre/gui2/book_details.py @@ -212,9 +212,9 @@ class BookInfo(QWebView): def _show_data(self, rows, comments): f = QFontInfo(QApplication.font(self.parent())).pixelSize() p = unicode(QApplication.palette().color(QPalette.Normal, - QPalette.Base).name()) + QPalette.Window).name()) c = unicode(QApplication.palette().color(QPalette.Normal, - QPalette.Text).name()) + QPalette.WindowText).name()) templ = u'''\