kutils: ensure there is interface in KPasswdStore::setCacheOnly()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-06-15 19:41:34 +03:00
parent d269abe7a0
commit ff34ec1167

View file

@ -112,6 +112,7 @@ bool KPasswdStore::openStore(const qlonglong windowid)
void KPasswdStore::setCacheOnly(const bool cacheonly)
{
d->ensureInterface();
d->interface->call("setCacheOnly", d->cookie, d->storeid, cacheonly);
}