Changeset View
Changeset View
Standalone View
Standalone View
drkonqi/drkonqidialog.cpp
Show First 20 Lines • Show All 258 Lines • ▼ Show 20 Line(s) | 258 | { | |||
---|---|---|---|---|---|
259 | m_debugButton->setEnabled(!debuggerRunning); | 259 | m_debugButton->setEnabled(!debuggerRunning); | ||
260 | } | 260 | } | ||
261 | 261 | | |||
262 | void DrKonqiDialog::startBugReportAssistant() | 262 | void DrKonqiDialog::startBugReportAssistant() | ||
263 | { | 263 | { | ||
264 | #if HAVE_XMLRPCCLIENT | 264 | #if HAVE_XMLRPCCLIENT | ||
265 | ReportAssistantDialog * bugReportAssistant = new ReportAssistantDialog(); | 265 | ReportAssistantDialog * bugReportAssistant = new ReportAssistantDialog(); | ||
266 | bugReportAssistant->show(); | 266 | bugReportAssistant->show(); | ||
267 | connect(bugReportAssistant, SIGNAL(finished()), SLOT([] () { close(); })); | 267 | connect(bugReportAssistant, &QObject::destroyed, this, &DrKonqiDialog::reject); | ||
268 | | ||||
268 | hide(); | 269 | hide(); | ||
269 | #endif | 270 | #endif | ||
270 | } | 271 | } | ||
271 | 272 | | |||
272 | void DrKonqiDialog::linkActivated(const QString& link) | 273 | void DrKonqiDialog::linkActivated(const QString& link) | ||
273 | { | 274 | { | ||
274 | if (link == QLatin1String(ABOUT_BUG_REPORTING_URL)) { | 275 | if (link == QLatin1String(ABOUT_BUG_REPORTING_URL)) { | ||
275 | showAboutBugReporting(); | 276 | showAboutBugReporting(); | ||
Show All 23 Lines |