Changeset View
Changeset View
Standalone View
Standalone View
src/DetailsTabs/ChangelogTab.cpp
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 44 | { | |||
---|---|---|---|---|---|
52 | m_busyWidget->setWidget(m_changelogBrowser->viewport()); | 52 | m_busyWidget->setWidget(m_changelogBrowser->viewport()); | ||
53 | 53 | | |||
54 | m_layout->addWidget(m_changelogBrowser); | 54 | m_layout->addWidget(m_changelogBrowser); | ||
55 | } | 55 | } | ||
56 | 56 | | |||
57 | void ChangelogTab::setPackage(QApt::Package *package) | 57 | void ChangelogTab::setPackage(QApt::Package *package) | ||
58 | { | 58 | { | ||
59 | m_package = package; | 59 | m_package = package; | ||
60 | } | ||||
61 | | ||||
62 | void ChangelogTab::refresh() | ||||
63 | { | ||||
60 | fetchChangelog(); | 64 | fetchChangelog(); | ||
61 | } | 65 | } | ||
62 | 66 | | |||
63 | void ChangelogTab::clear() | 67 | void ChangelogTab::clear() | ||
64 | { | 68 | { | ||
65 | DetailsTab::clear(); | 69 | DetailsTab::clear(); | ||
66 | 70 | | |||
67 | // Delete any KJobs lying around. We could get stale package pointers if the jobs | 71 | // Delete any KJobs lying around. We could get stale package pointers if the jobs | ||
▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines |