forked from qt-creator/qt-creator
QmakeProjectManager: various renaming cleanup
Change-Id: I0433317d03aefb8e175f2208ca7ae29fa3e9fa49 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -52,7 +52,7 @@ namespace QmakeProjectManager {
|
||||
namespace Internal {
|
||||
|
||||
// Figure out the Qt4 project used by the file if any
|
||||
static QmakeProject *qt4ProjectFor(const QString &fileName)
|
||||
static QmakeProject *qmakeProjectFor(const QString &fileName)
|
||||
{
|
||||
if (ProjectExplorer::Project *baseProject = ProjectExplorer::SessionManager::projectForFile(fileName))
|
||||
if (QmakeProject *project = qobject_cast<QmakeProject*>(baseProject))
|
||||
@@ -138,7 +138,7 @@ bool ExternalQtEditor::getEditorLaunchData(const QString &fileName,
|
||||
QString *errorMessage) const
|
||||
{
|
||||
// Get the binary either from the current Qt version of the project or Path
|
||||
if (const QmakeProject *project = qt4ProjectFor(fileName)) {
|
||||
if (const QmakeProject *project = qmakeProjectFor(fileName)) {
|
||||
if (const ProjectExplorer::Target *target = project->activeTarget()) {
|
||||
if (const QtSupport::BaseQtVersion *qtVersion = QtSupport::QtKitInformation::qtVersion(target->kit())) {
|
||||
data->binary = (qtVersion->*commandAccessor)();
|
||||
|
||||
Reference in New Issue
Block a user