Fixed openDesktop category name

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/34/head
Mavridis Philippe 3 years ago
parent ae84576d47
commit e7fdaa7a61
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -689,14 +689,15 @@ void AppearanceConfig::slotDeleteChatStyle()
void AppearanceConfig::slotGetChatStyles()
{
// we need this because TDENewStuffGeneric's install function isn't clever enough
KopeteStyleNewStuff *kopeteNewStuff = new KopeteStyleNewStuff( "kopete style 0.12+", this );
KNS::Engine *engine = new KNS::Engine( kopeteNewStuff, "kopete style 0.12+", this );
TQString contentType="Kopete Styles";
KopeteStyleNewStuff *kopeteNewStuff = new KopeteStyleNewStuff( contentType, this );
KNS::Engine *engine = new KNS::Engine( kopeteNewStuff, contentType, this );
KNS::DownloadDialog *downloadDialog = new KNS::DownloadDialog( engine, this );
downloadDialog->setType( "kopete style 0.12+" );
downloadDialog->setType( contentType );
// you have to do this by hand when providing your own Engine
KNS::ProviderLoader *provider = new KNS::ProviderLoader( this );
TQObject::connect( provider, TQT_SIGNAL( providersLoaded(Provider::List*) ), downloadDialog, TQT_SLOT( slotProviders (Provider::List *) ) );
provider->load( "kopete style 0.12+", "https://www.trinitydesktop.org/ocs/providers.xml" );
provider->load( contentType, "https://www.trinitydesktop.org/ocs/providers.xml" );
downloadDialog->exec();
}

Loading…
Cancel
Save