Changeset View
Changeset View
Standalone View
Standalone View
src/bugzillaintegration/reportassistantdialog.cpp
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 43 | ReportAssistantDialog::ReportAssistantDialog(QWidget * parent) : | |||
---|---|---|---|---|---|
45 | m_aboutBugReportingDialog(nullptr), | 45 | m_aboutBugReportingDialog(nullptr), | ||
46 | m_reportInterface(new ReportInterface(this)), | 46 | m_reportInterface(new ReportInterface(this)), | ||
47 | m_canClose(false) | 47 | m_canClose(false) | ||
48 | { | 48 | { | ||
49 | setAttribute(Qt::WA_DeleteOnClose, true); | 49 | setAttribute(Qt::WA_DeleteOnClose, true); | ||
50 | 50 | | |||
51 | //Set window properties | 51 | //Set window properties | ||
52 | setWindowTitle(i18nc("@title:window","Crash Reporting Assistant")); | 52 | setWindowTitle(i18nc("@title:window","Crash Reporting Assistant")); | ||
53 | setWindowIcon(QIcon::fromTheme(QStringLiteral("tools-report-bug"))); | 53 | setWindowIcon(QIcon::fromTheme(QStringLiteral("tools-report-bug"), windowIcon())); | ||
54 | 54 | | |||
55 | connect(this, &ReportAssistantDialog::currentPageChanged, this, &ReportAssistantDialog::currentPageChanged_slot); | 55 | connect(this, &ReportAssistantDialog::currentPageChanged, this, &ReportAssistantDialog::currentPageChanged_slot); | ||
56 | connect(button(QDialogButtonBox::Help), &QPushButton::clicked, this, &ReportAssistantDialog::showHelp); | 56 | connect(button(QDialogButtonBox::Help), &QPushButton::clicked, this, &ReportAssistantDialog::showHelp); | ||
57 | 57 | | |||
58 | //Create the assistant pages | 58 | //Create the assistant pages | ||
59 | 59 | | |||
60 | //-Introduction Page | 60 | //-Introduction Page | ||
61 | KConfigGroup group(KSharedConfig::openConfig(), "ReportAssistant"); | 61 | KConfigGroup group(KSharedConfig::openConfig(), "ReportAssistant"); | ||
▲ Show 20 Lines • Show All 319 Lines • Show Last 20 Lines |