Commit 03eb31e1 authored by Fabian Kosmale's avatar Fabian Kosmale
Browse files

make Package::isValid more explicit; check later if it's useful

parent 721aafae
......@@ -762,11 +762,11 @@ QStringList Package::hooks()
return d->hooks;
//TODO: recheck if this method really has the intended behaviour
bool Package::isValid() const
Q_D(const Package);
QReadLocker locker(d->mutex);
return d;
return d != nullptr;
bool Package::isInstalled() const
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