Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
QString QLibrary::fileName() const
{
if (d)
- return d->qualifiedFileName.isEmpty() ? d->fileName : d->qualifiedFileName;
+ return d->fileName;
return QString();
}
void *pHnd;
QString fileName;
- QString qualifiedFileName;
bool load();
bool loadPlugin(); // loads and resolves instance
if (!pHnd) {
errorString = QLibrary::tr("Cannot load library %1: %2").arg(fileName).arg(qdlerror());
} else {
- qualifiedFileName = fileName;
errorString.clear();
}
return (pHnd != 0);