forked from qt-creator/qt-creator
Qt4ProjectManager: Whitespace fixes.
Change-Id: Ia1d31e4f93c4af70a1b8628572ef07fa7ee03f73 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
committed by
Daniel Teske
parent
4e7b981aa3
commit
68157e50f3
@@ -83,7 +83,7 @@ using ProjectExplorer::UnknownFileType;
|
|||||||
static const char kInstallBins[] = "CurrentProject:QT_INSTALL_BINS";
|
static const char kInstallBins[] = "CurrentProject:QT_INSTALL_BINS";
|
||||||
|
|
||||||
// Known file types of a Qt 4 project
|
// Known file types of a Qt 4 project
|
||||||
static const char* qt4FileTypes[] = {
|
static const char *qt4FileTypes[] = {
|
||||||
"CppHeaderFiles",
|
"CppHeaderFiles",
|
||||||
"CppSourceFiles",
|
"CppSourceFiles",
|
||||||
"Qt4FormFiles",
|
"Qt4FormFiles",
|
||||||
@@ -163,7 +163,7 @@ void Qt4Manager::editorChanged(Core::IEditor *editor)
|
|||||||
|
|
||||||
if (m_dirty) {
|
if (m_dirty) {
|
||||||
const QString contents = formWindowEditorContents(m_lastEditor);
|
const QString contents = formWindowEditorContents(m_lastEditor);
|
||||||
foreach(Qt4Project *project, m_projects)
|
foreach (Qt4Project *project, m_projects)
|
||||||
project->rootQt4ProjectNode()->updateCodeModelSupportFromEditor(m_lastEditor->document()->fileName(), contents);
|
project->rootQt4ProjectNode()->updateCodeModelSupportFromEditor(m_lastEditor->document()->fileName(), contents);
|
||||||
m_dirty = false;
|
m_dirty = false;
|
||||||
}
|
}
|
||||||
@@ -185,7 +185,7 @@ void Qt4Manager::editorAboutToClose(Core::IEditor *editor)
|
|||||||
disconnect(m_lastEditor, SIGNAL(changed()), this, SLOT(uiEditorContentsChanged()));
|
disconnect(m_lastEditor, SIGNAL(changed()), this, SLOT(uiEditorContentsChanged()));
|
||||||
if (m_dirty) {
|
if (m_dirty) {
|
||||||
const QString contents = formWindowEditorContents(m_lastEditor);
|
const QString contents = formWindowEditorContents(m_lastEditor);
|
||||||
foreach(Qt4Project *project, m_projects)
|
foreach (Qt4Project *project, m_projects)
|
||||||
project->rootQt4ProjectNode()->updateCodeModelSupportFromEditor(m_lastEditor->document()->fileName(), contents);
|
project->rootQt4ProjectNode()->updateCodeModelSupportFromEditor(m_lastEditor->document()->fileName(), contents);
|
||||||
m_dirty = false;
|
m_dirty = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user