forked from qt-creator/qt-creator
Header cleanup in Qt4ProjectManager.
Disentangle the covariant returns and introduce convenience accessors. Move internal classes away from Qt4Project. Change-Id: I6c3158988824d2a159b1b3f8ecdf8432c32be2bc Reviewed-on: http://codereview.qt.nokia.com/3216 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -158,7 +158,7 @@ RemoteLinuxDeployConfiguration *AbstractMaemoInstallPackageToSysrootStep::deploy
|
||||
void AbstractMaemoInstallPackageToSysrootStep::run(QFutureInterface<bool> &fi)
|
||||
{
|
||||
const Qt4BuildConfiguration * const bc
|
||||
= qobject_cast<Qt4BaseTarget *>(target())->activeBuildConfiguration();
|
||||
= qobject_cast<Qt4BaseTarget *>(target())->activeQt4BuildConfiguration();
|
||||
if (!bc) {
|
||||
addOutput(tr("Cannot install to sysroot without build configuration."),
|
||||
ErrorMessageOutput);
|
||||
@@ -305,7 +305,7 @@ MaemoCopyToSysrootStep::MaemoCopyToSysrootStep(BuildStepList *bsl,
|
||||
void MaemoCopyToSysrootStep::run(QFutureInterface<bool> &fi)
|
||||
{
|
||||
const Qt4BuildConfiguration * const bc
|
||||
= qobject_cast<Qt4BaseTarget *>(target())->activeBuildConfiguration();
|
||||
= qobject_cast<Qt4BaseTarget *>(target())->activeQt4BuildConfiguration();
|
||||
if (!bc) {
|
||||
addOutput(tr("Cannot copy to sysroot without build configuration."),
|
||||
ErrorMessageOutput);
|
||||
|
||||
Reference in New Issue
Block a user