diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-08-21 19:22:28 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-08-21 19:22:28 +0200 |
commit | bf740faff197102a84b0812d158fe2eca51262c2 (patch) | |
tree | f91c8b265f7c397529fd4b31a29f11d539a341e2 /src/renderer.cpp | |
parent | 44c23c4159d9195718a7e80e005cc5c12c7001ce (diff) | |
download | tdeio-sword-bf740faff197102a84b0812d158fe2eca51262c2.tar.gz tdeio-sword-bf740faff197102a84b0812d158fe2eca51262c2.zip |
Fix build with sword 1.5.8
Diffstat (limited to 'src/renderer.cpp')
-rw-r--r-- | src/renderer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/renderer.cpp b/src/renderer.cpp index 79a38d0..60a13bc 100644 --- a/src/renderer.cpp +++ b/src/renderer.cpp @@ -150,7 +150,7 @@ namespace KioSword else setGlobalOption("Variants", "Primary Readings"); - LocaleMgr::systemLocaleMgr.setDefaultLocaleName(options.locale()); + LocaleMgr::getSystemLocaleMgr()->setDefaultLocaleName(options.locale()); } /** Return an HTML hyperlinked list of all modules, @@ -471,7 +471,7 @@ namespace KioSword return; // FIXME - why do I need this call to setLocale()? - vk->setLocale(LocaleMgr::systemLocaleMgr.getDefaultLocaleName()); + vk->setLocale(LocaleMgr::getSystemLocaleMgr()->getDefaultLocaleName()); modtextdir = textDirection(module); @@ -835,7 +835,7 @@ namespace KioSword if (!vk) return output; - vk->setLocale(LocaleMgr::systemLocaleMgr.getDefaultLocaleName()); + vk->setLocale(LocaleMgr::getSystemLocaleMgr()->getDefaultLocaleName()); module->setSkipConsecutiveLinks(true); vk->AutoNormalize(1); @@ -1015,7 +1015,7 @@ namespace KioSword QStringList Renderer::availableLocales() { - list<SWBuf> locales = LocaleMgr::systemLocaleMgr.getAvailableLocales(); + list<SWBuf> locales = LocaleMgr::getSystemLocaleMgr()->getAvailableLocales(); list<SWBuf>::const_iterator it; list<SWBuf>::const_iterator it_end = locales.end(); QStringList output; |