Commit 09642ec7 authored by Laurent Montel's avatar Laurent Montel 😁

Remove not necessary line

parent 27312c45
......@@ -113,7 +113,6 @@ void MessagePartRendererManager::initializeRenderer()
m_engine->addDefaultLibrary(QStringLiteral("kde_grantlee_plugin"));
auto loader = QSharedPointer<Grantlee::FileSystemTemplateLoader>(new GrantleeTheme::QtResourceTemplateLoader());
loader->setTemplateDirs(QStringList() << QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("/messageviewer/messagepartthemes/default"), QStandardPaths::LocateDirectory));
m_engine->addTemplateLoader(loader);
if (!m_localized) {
m_localized.reset(new GrantleeTheme::GrantleeKi18nLocalizer());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment