need to init qca
This commit is contained in:
parent
7417ab8acb
commit
2caa24b1b8
@ -381,6 +381,8 @@ QString Package::contentsHash() const
|
|||||||
return QString();
|
return QString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//FIXME: the initializer should go somewhere global to be shared between all plasma uses?
|
||||||
|
QCA::Initializer init;
|
||||||
if (!QCA::isSupported("sha1")) {
|
if (!QCA::isSupported("sha1")) {
|
||||||
kWarning() << "can not create hash for" << path() << "due to no SHA1 support in QCA2";
|
kWarning() << "can not create hash for" << path() << "due to no SHA1 support in QCA2";
|
||||||
return QString();
|
return QString();
|
||||||
|
Loading…
Reference in New Issue
Block a user