From: Alex Richardson Date: Thu, 10 Apr 2014 01:02:40 +0000 (+0200) Subject: KParts::ReadOnlyPart::openUrl() changed from KUrl parameter to QUrl X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/693bf89f2e3e184e2dd3a2e6628f630688bd48d2 KParts::ReadOnlyPart::openUrl() changed from KUrl parameter to QUrl --- 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; }