mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
kdecore: make use of QFile::absoluteFilePath() in KDirWatch
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
127a46f99c
commit
ff8d9980c5
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue