┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Richardson <[email protected]>2014-04-10 03:02:40 +0200
committerAlex Richardson <[email protected]>2014-05-05 23:05:33 +0200
commit693bf89f2e3e184e2dd3a2e6628f630688bd48d2 (patch)
tree8cfdc288201b1914ac97ad4702c9d7c486a6f302 /src
parent2f045c60109e0a5811f68bcce617236e3478e402 (diff)
KParts::ReadOnlyPart::openUrl() changed from KUrl parameter to QUrl
Diffstat (limited to 'src')
-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; }