rootDirName variable always ends with a QDir::separator()