~ubuntu-branches/ubuntu/lucid/kdebase/lucid

« back to all changes in this revision

Viewing changes to apps/dolphin/src/dolphinpart.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-10-03 03:45:08 UTC
  • mto: This revision was merged to the branch mainline in revision 253.
  • Revision ID: james.westby@ubuntu.com-20091003034508-l3yn8392uy00kfm5
Tags: upstream-4.3.2
ImportĀ upstreamĀ versionĀ 4.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#include <kaboutdata.h>
32
32
#include <kactioncollection.h>
33
33
#include <kconfiggroup.h>
 
34
#include <kdebug.h>
34
35
#include <kdirlister.h>
35
36
#include <kglobalsettings.h>
36
37
#include <kiconloader.h>
436
437
void DolphinPart::slotRedirection(const KUrl& oldUrl, const KUrl& newUrl)
437
438
{
438
439
    //kDebug() << oldUrl << newUrl << "currentUrl=" << url();
439
 
    if (oldUrl == url()) {
 
440
    if (oldUrl.equals(url(), KUrl::CompareWithoutTrailingSlash /* #207572 */)) {
440
441
        KParts::ReadOnlyPart::setUrl(newUrl);
441
442
        const QString prettyUrl = newUrl.pathOrUrl();
442
443
        emit m_extension->setLocationBarUrl(prettyUrl);