remove redundant handle check in QLibrary::unload()

QLibraryPrivate::unload() does the same check

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-11-14 15:25:55 +02:00
parent c328d1e068
commit d2e041543b

View file

@ -391,9 +391,6 @@ bool QLibrary::load()
*/
bool QLibrary::unload()
{
if (!d_ptr->pHnd) {
return false;
}
return d_ptr->unload();
}