QHostInfo/Unix: Fix resolv never unloading
Due to some unfortunate shadowing Pick-to: 6.3 6.2 5.15 Change-Id: Ib2660516f9ba9974c84a043bd2677b7890fc76f9 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
f5f6487e80
commit
567c31e8ee
@ -124,7 +124,6 @@ static QFunctionPointer resolveSymbol(QLibrary &lib, const char *sym)
|
||||
|
||||
LibResolv::LibResolv()
|
||||
{
|
||||
QLibrary lib;
|
||||
#ifdef LIBRESOLV_SO
|
||||
lib.setFileName(QStringLiteral(LIBRESOLV_SO));
|
||||
if (!lib.load())
|
||||
|
Loading…
Reference in New Issue
Block a user