mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 08:21:22 +00:00
KParts::URLArgs split up [merged from branches/work/kparts_urlargs_split]
into KParts::OpenUrlArguments and KParts::BrowserArguments. This also allows the part to set arguments().mimeType() is the host didn't set it. svn path=/trunk/KDE/kdebase/apps/; revision=699514
This commit is contained in:
parent
83b360f2c6
commit
1f5476dd45
|
@ -102,9 +102,8 @@ bool DolphinPart::openUrl(const KUrl& url)
|
|||
const QString prettyUrl = url.pathOrUrl();
|
||||
setWindowCaption(prettyUrl);
|
||||
m_extension->setLocationBarUrl(prettyUrl);
|
||||
const KParts::URLArgs args = m_extension->urlArgs();
|
||||
m_view->setUrl(url);
|
||||
if (args.reload)
|
||||
if (arguments().reload())
|
||||
m_view->reload();
|
||||
emit started(0); // get the wheel to spin
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue