kdecore: make use of QFile::absoluteFilePath() in KDirWatch

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-06-12 00:18:59 +00:00
parent 127a46f99c
commit ff8d9980c5

View file

@ -85,7 +85,7 @@ void KDirWatch::addDir(const QString& path, WatchModes watchModes)
}
foreach(const QFileInfo info, dir.entryInfoList(filters)) {
const QString fullpath = path + QDir::separator() + info.filePath();
const QString fullpath = info.absoluteFilePath();
if (info.isDir()) {
addDir(fullpath, watchModes);
} else {