Changeset View
Changeset View
Standalone View
Standalone View
drkonqi/drkonqidialog.cpp
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | 48 | DrKonqiDialog::DrKonqiDialog(QWidget * parent) : | |||
---|---|---|---|---|---|
49 | QDialog(parent), | 49 | QDialog(parent), | ||
50 | m_aboutBugReportingDialog(0), | 50 | m_aboutBugReportingDialog(0), | ||
51 | m_backtraceWidget(0) | 51 | m_backtraceWidget(0) | ||
52 | { | 52 | { | ||
53 | setAttribute(Qt::WA_DeleteOnClose, true); | 53 | setAttribute(Qt::WA_DeleteOnClose, true); | ||
54 | 54 | | |||
55 | //Setting dialog title and icon | 55 | //Setting dialog title and icon | ||
56 | setWindowTitle(DrKonqi::crashedApplication()->name()); | 56 | setWindowTitle(DrKonqi::crashedApplication()->name()); | ||
57 | setWindowIcon(QIcon::fromTheme(QStringLiteral("tools-report-bug"))); | 57 | setWindowIcon(QIcon::fromTheme(QStringLiteral("tools-report-bug"), windowIcon())); | ||
58 | 58 | | |||
59 | QVBoxLayout* l = new QVBoxLayout(this); | 59 | QVBoxLayout* l = new QVBoxLayout(this); | ||
60 | m_tabWidget = new QTabWidget(this); | 60 | m_tabWidget = new QTabWidget(this); | ||
61 | l->addWidget(m_tabWidget); | 61 | l->addWidget(m_tabWidget); | ||
62 | m_buttonBox = new QDialogButtonBox(this); | 62 | m_buttonBox = new QDialogButtonBox(this); | ||
63 | connect(m_buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accepted); | 63 | connect(m_buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accepted); | ||
64 | connect(m_buttonBox, &QDialogButtonBox::rejected, this, &QDialog::rejected); | 64 | connect(m_buttonBox, &QDialogButtonBox::rejected, this, &QDialog::rejected); | ||
65 | l->addWidget(m_buttonBox); | 65 | l->addWidget(m_buttonBox); | ||
▲ Show 20 Lines • Show All 237 Lines • Show Last 20 Lines |