From 6ed1ea98db6b1b369e7561efcc2c666b810e5446 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 8 Jun 2012 15:51:46 -0500 Subject: Update XDG information in support of bug report 892. --- kresources/factory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kresources/factory.cpp') diff --git a/kresources/factory.cpp b/kresources/factory.cpp index 462d6be9c..fa3ee6eaf 100644 --- a/kresources/factory.cpp +++ b/kresources/factory.cpp @@ -58,11 +58,11 @@ Factory *Factory::self( const TQString& resourceFamily ) Factory::Factory( const TQString& resourceFamily ) : mResourceFamily( resourceFamily ) { - KTrader::OfferList plugins = KTrader::self()->query( "KResources/Plugin", TQString( "[X-KDE-ResourceFamily] == '%1'" ) + KTrader::OfferList plugins = KTrader::self()->query( "KResources/Plugin", TQString( "[X-TDE-ResourceFamily] == '%1'" ) .arg( resourceFamily ) ); KTrader::OfferList::ConstIterator it; for ( it = plugins.begin(); it != plugins.end(); ++it ) { - TQVariant type = (*it)->property( "X-KDE-ResourceType" ); + TQVariant type = (*it)->property( "X-TDE-ResourceType" ); if ( !type.toString().isEmpty() ) mTypeMap.insert( type.toString(), *it ); } -- cgit v1.2.3