Changeset View
Changeset View
Standalone View
Standalone View
drkonqi/aboutbugreportingdialog.cpp
Show All 30 Lines | |||||
31 | #include <QPushButton> | 31 | #include <QPushButton> | ||
32 | #include "drkonqi_globals.h" | 32 | #include "drkonqi_globals.h" | ||
33 | 33 | | |||
34 | AboutBugReportingDialog::AboutBugReportingDialog(QWidget * parent): | 34 | AboutBugReportingDialog::AboutBugReportingDialog(QWidget * parent): | ||
35 | QDialog(parent) | 35 | QDialog(parent) | ||
36 | { | 36 | { | ||
37 | setAttribute(Qt::WA_DeleteOnClose, true); | 37 | setAttribute(Qt::WA_DeleteOnClose, true); | ||
38 | 38 | | |||
39 | setWindowIcon(QIcon::fromTheme(QStringLiteral("help-hint"))); | 39 | setWindowIcon(QIcon::fromTheme(QStringLiteral("help-hint"), windowIcon())); | ||
40 | setWindowTitle(i18nc("@title title of the dialog", "About Bug Reporting - Help")); | 40 | setWindowTitle(i18nc("@title title of the dialog", "About Bug Reporting - Help")); | ||
41 | 41 | | |||
42 | QVBoxLayout* layout = new QVBoxLayout(this); | 42 | QVBoxLayout* layout = new QVBoxLayout(this); | ||
43 | setLayout(layout); | 43 | setLayout(layout); | ||
44 | m_textBrowser = new QTextBrowser(this); | 44 | m_textBrowser = new QTextBrowser(this); | ||
45 | m_textBrowser->setMinimumSize(QSize(600, 300)); | 45 | m_textBrowser->setMinimumSize(QSize(600, 300)); | ||
46 | connect(m_textBrowser, &QTextBrowser::anchorClicked, this, &AboutBugReportingDialog::handleInternalLinks); | 46 | connect(m_textBrowser, &QTextBrowser::anchorClicked, this, &AboutBugReportingDialog::handleInternalLinks); | ||
47 | 47 | | |||
▲ Show 20 Lines • Show All 186 Lines • Show Last 20 Lines |