forked from qt-creator/qt-creator
Qt Quick Qt4Project: Fix updating of removed or moved qml files
Task-number: QTCREATORBUG-7842 Change-Id: Ie11df6b2681f35a44684757f7601b90c766a68c1 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
bb4bb75e78
commit
4668b7b1d3
@@ -731,15 +731,11 @@ void Qt4PriFileNode::watchFolders(const QSet<QString> &folders)
|
||||
m_watchedFolders = folders;
|
||||
}
|
||||
|
||||
void Qt4PriFileNode::folderChanged(const QString &folder)
|
||||
void Qt4PriFileNode::folderChanged(const QString &changedFolder)
|
||||
{
|
||||
//qDebug()<<"########## Qt4PriFileNode::folderChanged";
|
||||
// So, we need to figure out which files changed.
|
||||
|
||||
QString changedFolder = folder;
|
||||
if (!changedFolder.endsWith(QLatin1Char('/')))
|
||||
changedFolder.append(QLatin1Char('/'));
|
||||
|
||||
// Collect all the files
|
||||
QSet<Utils::FileName> newFiles;
|
||||
newFiles += recursiveEnumerate(changedFolder);
|
||||
|
||||
Reference in New Issue
Block a user