Changeset View
Changeset View
Standalone View
Standalone View
drkonqi/bugzillaintegration/reportassistantpages_bugzilla.cpp
Show All 22 Lines | |||||
23 | 23 | | |||
24 | #include <QLabel> | 24 | #include <QLabel> | ||
25 | #include <QCheckBox> | 25 | #include <QCheckBox> | ||
26 | #include <QToolTip> | 26 | #include <QToolTip> | ||
27 | #include <QCursor> | 27 | #include <QCursor> | ||
28 | #include <QFileDialog> | 28 | #include <QFileDialog> | ||
29 | #include <QTemporaryFile> | 29 | #include <QTemporaryFile> | ||
30 | #include <QTextBrowser> | 30 | #include <QTextBrowser> | ||
31 | #include <QDesktopServices> | ||||
31 | 32 | | |||
32 | #include <QtDBus/QDBusInterface> | 33 | #include <QtDBus/QDBusInterface> | ||
33 | #include <QtDBus/QDBusReply> | 34 | #include <QtDBus/QDBusReply> | ||
34 | 35 | | |||
35 | #include <QDebug> | 36 | #include <QDebug> | ||
36 | #include <KMessageBox> | 37 | #include <KMessageBox> | ||
37 | #include <KToolInvocation> | 38 | #include <KToolInvocation> | ||
38 | #include <KLocalizedString> | 39 | #include <KLocalizedString> | ||
▲ Show 20 Lines • Show All 715 Lines • ▼ Show 20 Line(s) | 748 | { | |||
754 | if (!extendedMessage.isEmpty()) { | 755 | if (!extendedMessage.isEmpty()) { | ||
755 | new UnhandledErrorDialog(this,errorString, extendedMessage); | 756 | new UnhandledErrorDialog(this,errorString, extendedMessage); | ||
756 | } | 757 | } | ||
757 | } | 758 | } | ||
758 | 759 | | |||
759 | void BugzillaSendPage::finishClicked() | 760 | void BugzillaSendPage::finishClicked() | ||
760 | { | 761 | { | ||
761 | if (ui.m_launchPageOnFinish->isChecked() && !reportUrl.isEmpty()) { | 762 | if (ui.m_launchPageOnFinish->isChecked() && !reportUrl.isEmpty()) { | ||
762 | KToolInvocation::invokeBrowser(reportUrl); | 763 | QDesktopServices::openUrl(QUrl(reportUrl)); | ||
763 | } | 764 | } | ||
764 | if (ui.m_restartAppOnFinish->isChecked()) { | 765 | if (ui.m_restartAppOnFinish->isChecked()) { | ||
765 | DrKonqi::crashedApplication()->restart(); | 766 | DrKonqi::crashedApplication()->restart(); | ||
766 | } | 767 | } | ||
767 | } | 768 | } | ||
768 | 769 | | |||
769 | void BugzillaSendPage::openReportContents() | 770 | void BugzillaSendPage::openReportContents() | ||
770 | { | 771 | { | ||
▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines |