forked from qt-creator/qt-creator
Qt4ProjectManager: updateFileList on a external folder change
Task-Nr: QTCREATORBUG-3001
This commit is contained in:
@@ -719,6 +719,7 @@ void Qt4PriFileNode::folderChanged(const QString &folder)
|
||||
}
|
||||
|
||||
contents.updateSubFolders(this, this);
|
||||
m_project->updateFileList();
|
||||
}
|
||||
|
||||
bool Qt4PriFileNode::deploysFolder(const QString &folder) const
|
||||
|
||||
@@ -192,6 +192,9 @@ public:
|
||||
|
||||
Internal::CentralizedFolderWatcher *centralizedFolderWatcher();
|
||||
|
||||
// For Qt4ProFileNode after a on disk change
|
||||
void updateFileList();
|
||||
|
||||
signals:
|
||||
/// emitted after parse
|
||||
void proFileUpdated(Qt4ProjectManager::Internal::Qt4ProFileNode *node);
|
||||
@@ -220,7 +223,7 @@ private:
|
||||
void updateCodeModels();
|
||||
void updateCppCodeModel();
|
||||
void updateQmlJSCodeModel();
|
||||
void updateFileList();
|
||||
|
||||
|
||||
static void collectLeafProFiles(QList<Internal::Qt4ProFileNode *> &list, Internal::Qt4ProFileNode *node);
|
||||
static void collectApplicationProFiles(QList<Internal::Qt4ProFileNode *> &list, Internal::Qt4ProFileNode *node);
|
||||
|
||||
Reference in New Issue
Block a user