forked from qt-creator/qt-creator
Merge branch '2.7'
Conflicts: doc/src/qtquick/qtquick-components.qdoc doc/src/qtquick/qtquick-designer.qdoc qtcreator.pri qtcreator.qbs src/plugins/cppeditor/cppinsertdecldef.cpp src/plugins/qnx/qnxruncontrolfactory.cpp Change-Id: I0a37a07c42719bc0d9ef5b3ac4641d01a63c0d88
This commit is contained in:
@@ -1786,7 +1786,10 @@ void DebuggerPluginPrivate::attachToQmlPort()
|
||||
foreach (Project *project, projects)
|
||||
sourceFiles << project->files(Project::ExcludeGeneratedFiles);
|
||||
|
||||
sp.projectSourceDirectory =
|
||||
!projects.isEmpty() ? projects.first()->projectDirectory() : QString();
|
||||
sp.projectSourceFiles = sourceFiles;
|
||||
sp.sysRoot = SysRootKitInformation::sysRoot(kit).toString();
|
||||
DebuggerRunControlFactory::createAndScheduleRun(sp);
|
||||
}
|
||||
|
||||
@@ -2458,7 +2461,6 @@ void DebuggerPluginPrivate::sessionLoaded()
|
||||
|
||||
void DebuggerPluginPrivate::aboutToUnloadSession()
|
||||
{
|
||||
m_breakHandler->removeSessionData();
|
||||
m_toolTipManager->sessionAboutToChange();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user