Sat, 20 Apr 2013 18:45:45 +0200
Fixes for the webbrowser.
--- a/Helpviewer/History/HistoryManager.py Mon Apr 15 20:26:57 2013 +0200 +++ b/Helpviewer/History/HistoryManager.py Sat Apr 20 18:45:45 2013 +0200 @@ -467,7 +467,7 @@ stream.writeUInt32(HISTORY_VERSION) stream.writeString(itm.url.encode()) stream << itm.dateTime - stream.writeString(itm.title.encode()) + stream.writeString(itm.title.encode('utf-8')) f.write(data) f.close()
--- a/Helpviewer/UrlBar/UrlBar.py Mon Apr 15 20:26:57 2013 +0200 +++ b/Helpviewer/UrlBar/UrlBar.py Sat Apr 20 18:45:45 2013 +0200 @@ -317,8 +317,8 @@ gradient = QLinearGradient(QPointF(0, 0), QPointF(self.width(), 0)) gradient.setColorAt(0, loadingColor) - gradient.setColorAt(progress / 100 - 0.000001, loadingColor) - gradient.setColorAt(progress / 100, backgroundColor) + gradient.setColorAt(progress / 100.0 - 0.000001, loadingColor) + gradient.setColorAt(progress / 100.0, backgroundColor) p.setBrush(QPalette.Base, gradient) self.setPalette(p)