diff options
Diffstat (limited to 'kspread')
-rw-r--r-- | kspread/kspread_factory.cc | 8 | ||||
-rw-r--r-- | kspread/kspread_view.cc | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kspread/kspread_factory.cc b/kspread/kspread_factory.cc index 63f393a7..861b9d96 100644 --- a/kspread/kspread_factory.cc +++ b/kspread/kspread_factory.cc @@ -79,12 +79,12 @@ TDEInstance* Factory::global() s_global = new TDEInstance(aboutData()); s_global->dirs()->addResourceType( "kspread_template", - KStandardDirs::kde_default("data") + "kspread/templates/"); + TDEStandardDirs::kde_default("data") + "kspread/templates/"); s_global->dirs()->addResourceType( "toolbar", - KStandardDirs::kde_default("data") + "koffice/toolbar/"); - s_global->dirs()->addResourceType( "extensions", KStandardDirs::kde_default("data") + "kspread/extensions/"); - s_global->dirs()->addResourceType( "sheet-styles", KStandardDirs::kde_default("data") + "kspread/sheetstyles/"); + TDEStandardDirs::kde_default("data") + "koffice/toolbar/"); + s_global->dirs()->addResourceType( "extensions", TDEStandardDirs::kde_default("data") + "kspread/extensions/"); + s_global->dirs()->addResourceType( "sheet-styles", TDEStandardDirs::kde_default("data") + "kspread/sheetstyles/"); // Tell the iconloader about share/apps/koffice/icons s_global->iconLoader()->addAppDir("koffice"); } diff --git a/kspread/kspread_view.cc b/kspread/kspread_view.cc index d709c6c0..6de55b61 100644 --- a/kspread/kspread_view.cc +++ b/kspread/kspread_view.cc @@ -2868,7 +2868,7 @@ void View::createTemplate() tempFile.name(), pix, this ); Factory::global()->dirs()->addResourceType("kspread_template", - KStandardDirs::kde_default( "data" ) + + TDEStandardDirs::kde_default( "data" ) + "kspread/templates/"); } |