mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Fix crash on unloading PIM plugin
This commit is contained in:
parent
36dd2e086d
commit
41168f0ff4
|
@ -69,7 +69,7 @@ bool PIM_Plugin::testPlugin()
|
|||
|
||||
QTranslator* PIM_Plugin::getTranslator(const QString &locale)
|
||||
{
|
||||
QTranslator* translator = new QTranslator();
|
||||
QTranslator* translator = new QTranslator(this);
|
||||
translator->load(locale, ":/PIM/locale/");
|
||||
return translator;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user