summaryrefslogtreecommitdiffstats
path: root/kopete
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-06-27 12:32:10 +0300
committerMavridis Philippe <[email protected]>2021-06-27 12:46:56 +0300
commit715f32e924b14576c39dc3337806db2d690b8fe2 (patch)
tree42b46afb097d4af89e93b547e12b4ccb4c90e921 /kopete
parente04b5ae8c5875c2fe8ee6294ee48be522b5f5176 (diff)
downloadtdenetwork-715f32e924b14576c39dc3337806db2d690b8fe2.tar.gz
tdenetwork-715f32e924b14576c39dc3337806db2d690b8fe2.zip
Fixed openDesktop category name
Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit e7fdaa7a61e79a1c14d72da2b02cdcfee1956579)
Diffstat (limited to 'kopete')
-rw-r--r--kopete/kopete/config/appearance/appearanceconfig.cpp9
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();
}