diff options
| author | David Faure <[email protected]> | 2007-08-13 10:17:57 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2007-08-13 10:17:57 +0000 |
| commit | 1f5476dd45efa74d847b041bb03f64f4d4a8c9c4 (patch) | |
| tree | ee26193ae8b0102bb6b03d1a2eac5adc01c1f4b5 /src/dolphinpart.cpp | |
| parent | 83b360f2c6d936fe61aba6ff78a8a0e36b34ecae (diff) | |
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
Diffstat (limited to 'src/dolphinpart.cpp')
| -rw-r--r-- | src/dolphinpart.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index 675609b3d..776cd024e 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -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; |
