forked from qt-creator/qt-creator
Pop up a dialog if the CMakeCache.txt changes.
Rerun cmake and reparse the file. Add new files to the tree, remove old ones from th tree. Add/removing targets should also work.
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
|
||||
#include "proeditormodel.h"
|
||||
|
||||
#include "directorywatcher.h"
|
||||
#include "profilereader.h"
|
||||
#include "prowriter.h"
|
||||
#include "qt4nodes.h"
|
||||
@@ -37,6 +36,7 @@
|
||||
#include "qt4projectmanager.h"
|
||||
|
||||
#include <projectexplorer/nodesvisitor.h>
|
||||
#include <projectexplorer/filewatcher.h>
|
||||
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <coreplugin/fileiconprovider.h>
|
||||
@@ -88,7 +88,7 @@ Qt4PriFileNode::Qt4PriFileNode(Qt4Project *project, Qt4ProFileNode* qt4ProFileNo
|
||||
m_qt4ProFileNode(qt4ProFileNode),
|
||||
m_projectFilePath(QDir::fromNativeSeparators(filePath)),
|
||||
m_projectDir(QFileInfo(filePath).absolutePath()),
|
||||
m_fileWatcher(new FileWatcher(this))
|
||||
m_fileWatcher(new ProjectExplorer::FileWatcher(this))
|
||||
{
|
||||
Q_ASSERT(project);
|
||||
setFolderName(QFileInfo(filePath).completeBaseName());
|
||||
|
||||
Reference in New Issue
Block a user