Fix FileInfo::*baseName().
Fix FileInfo::*baseName().

If the path does not contain a dot, the functions return the complete
path instead of the file name.

Change-Id: I29d1cae78375ad89ead2e467ce1c76c3e48230a1
Reviewed-by: Joerg Bornemann <47777b9406dbddd02a3fdca8341789a013805a11@theqtcompany.com>

qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qt-labs/qbs,qtproject/qt-labs-qbs,gatzka/qt-labs-qbs,gatzka/qt-labs-qbs,gatzka/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,gatzka/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs,gatzka/qt-labs-qbs,qt-labs/qbs,gatzka/qt-labs-qbs,gatzka/qt-labs-qbs