mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-05 16:19:10 +00:00
KParts::ReadOnlyPart::openUrl() changed from KUrl parameter to QUrl
This commit is contained in:
parent
2f045c6010
commit
693bf89f2e
|
@ -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.
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue