summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2016-06-07 13:55:09 (GMT)
committerRolf Eike Beer <kde@opensource.sf-tec.de>2016-06-07 15:47:34 (GMT)
commit7c5fdc1b0ba00e384e59fa602a636d89f3fa3f5b (patch)
treed96a8fe0cd658b1832c2cec71d1426971213aab5
parent1b17286845a62e6f30f7f8324ebe8d2802aa9f97 (diff)
port away from KToolInvocation::invokeBrowser()
-rw-r--r--keyinfodialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyinfodialog.cpp b/keyinfodialog.cpp
index 2d90c46..bbafc42 100644
--- a/keyinfodialog.cpp
+++ b/keyinfodialog.cpp
@@ -29,10 +29,10 @@
#include <KConfigGroup>
#include <KLocalizedString>
#include <KMessageBox>
-#include <KToolInvocation>
#include <QApplication>
#include <QCheckBox>
+#include <QDesktopServices>
#include <QDialogButtonBox>
#include <QFormLayout>
#include <QHBoxLayout>
@@ -260,7 +260,7 @@ void KgpgKeyInfo::displayKey()
void KgpgKeyInfo::slotOpenUrl(const QString &url) const
{
- KToolInvocation::invokeBrowser(url);
+ QDesktopServices::openUrl(QUrl(url));
}
void KgpgKeyInfo::slotLoadPhoto(const QString &uid)