Commit 1c7d71fc authored by Jonathan Thomas's avatar Jonathan Thomas
Browse files

Do not respond to changelogFetched events when we have no package set in the ChangelogWidget.

BUG:291452
FIXED-IN:1.3.0
parent 8ecc5c27
......@@ -154,6 +154,9 @@ void ChangelogWidget::stopPendingJobs()
void ChangelogWidget::changelogFetched(KJob *job)
{
if (!m_package)
return;
// Work around http://bugreports.qt.nokia.com/browse/QTBUG-2533 by forcibly resetting the CharFormat
QTextCharFormat format;
m_changelogBrowser->setCurrentCharFormat(format);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment