From e7fdaa7a61e79a1c14d72da2b02cdcfee1956579 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Sun, 27 Jun 2021 12:32:10 +0300 Subject: Fixed openDesktop category name Signed-off-by: Mavridis Philippe --- kopete/kopete/config/appearance/appearanceconfig.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/kopete/kopete/config/appearance/appearanceconfig.cpp b/kopete/kopete/config/appearance/appearanceconfig.cpp index de562b82..279fe0c4 100644 --- a/kopete/kopete/config/appearance/appearanceconfig.cpp +++ b/kopete/kopete/config/appearance/appearanceconfig.cpp @@ -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(); } -- cgit v1.2.1