┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dolphinpart.cpp2
-rw-r--r--src/dolphinpart.h2
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; }