From 693bf89f2e3e184e2dd3a2e6628f630688bd48d2 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Thu, 10 Apr 2014 03:02:40 +0200 Subject: [PATCH] KParts::ReadOnlyPart::openUrl() changed from KUrl parameter to QUrl --- src/dolphinpart.cpp | 2 +- src/dolphinpart.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index 0e1430c9f..c78a460ea 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -302,7 +302,7 @@ KAboutData* DolphinPart::createAboutData() return new KAboutData("dolphinpart", "dolphin", i18nc("@title", "Dolphin Part"), "0.1"); } -bool DolphinPart::openUrl(const KUrl& url) +bool DolphinPart::openUrl(const QUrl &url) { bool reload = arguments().reload(); // A bit of a workaround so that changing the namefilter works: force reload. diff --git a/src/dolphinpart.h b/src/dolphinpart.h index 8e3ea58de..9ab1e80ce 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -65,7 +65,7 @@ public: * Standard KParts::ReadOnlyPart openUrl method. * Called by Konqueror to view a directory in DolphinPart. */ - virtual bool openUrl(const KUrl& url); + virtual bool openUrl(const QUrl& url) Q_DECL_OVERRIDE; /// see the supportsUndo property bool supportsUndo() const { return true; } -- 2.47.3