[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/nepomuk/services/backupsync/lib
From: Vishesh Handa <handa.vish () gmail ! com>
Date: 2010-11-24 15:56:11
Message-ID: 20101124155611.15E4CAC8A2 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1200304 by vhanda:
Fix ResoruceIdentifier::forceResource
M +3 -3 resourceidentifier.cpp
--- trunk/KDE/kdebase/runtime/nepomuk/services/backupsync/lib/resourceidentifier.cpp #1200303:1200304
@@ -291,7 +291,7 @@
if( res.isFile() ) {
const QUrl nieUrlProp = Nepomuk::Vocabulary::NIE::url();
- Sync::SimpleResource & simRes = d->m_resourceHash[ res.resourceUri() ];
+ Sync::SimpleResource & simRes = d->m_resourceHash[ oldUri ];
KUrl oldNieUrl = simRes.nieUrl();
KUrl newNieUrl = res.property( nieUrlProp ).toUrl();
@@ -302,7 +302,7 @@
simRes.insert( nieUrlProp, Soprano::Node( newNieUrl ) );
// Remove from list. Insert later
- d->m_notIdentified.remove( res.resourceUri() );
+ d->m_notIdentified.remove( oldUri );
//
// Modify other non identified resources with similar nie:urls
@@ -342,7 +342,7 @@
}
}
- d->m_notIdentified.insert( res.resourceUri() );
+ d->m_notIdentified.insert( oldUri );
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic