diff options
author | Mavridis Philippe <[email protected]> | 2021-06-27 12:32:10 +0300 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2021-06-27 12:32:10 +0300 |
commit | e7fdaa7a61e79a1c14d72da2b02cdcfee1956579 (patch) | |
tree | 73ffee072bede6fb40a8fc4e7b548835e7e85fac /kopete | |
parent | ae84576d47ce9bf314b140d59470b3d04e5038f8 (diff) | |
download | tdenetwork-e7fdaa7a61e79a1c14d72da2b02cdcfee1956579.tar.gz tdenetwork-e7fdaa7a61e79a1c14d72da2b02cdcfee1956579.zip |
Fixed openDesktop category name
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'kopete')
-rw-r--r-- | kopete/kopete/config/appearance/appearanceconfig.cpp | 9 |
1 files 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(); } |