diff options
author | Daniel Teske <daniel.teske@digia.com> | 2012-12-07 13:09:08 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-01-24 10:44:06 +0100 |
commit | a4b8dabbf428d3ba553522f8e945a6514b01a21e (patch) | |
tree | 04e0ebeb6bf4acb7738586f78e1fa0284ca0a7da | |
parent | 52be02d1cbbf69d4f82c517c7b633ed3d13b1007 (diff) | |
download | qt-creator-a4b8dabbf428d3ba553522f8e945a6514b01a21e.tar.gz |
AbstractRemoteLinuxDeployService: Remove unecessary checks
Change-Id: I769a2f514843a3825d3d5a2f8a61b9e9f5f9f537
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
-rw-r--r-- | src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp b/src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp index 1801eb9b5e..0b89082386 100644 --- a/src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp +++ b/src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp @@ -130,13 +130,9 @@ void AbstractRemoteLinuxDeployService::saveDeploymentTimeStamp(const DeployableF { if (!d->target) return; - const QtSupport::BaseQtVersion *const qtVersion - = QtSupport::QtKitInformation::qtVersion(d->kit); QString systemRoot; if (SysRootKitInformation::hasSysRoot(d->kit)) systemRoot = SysRootKitInformation::sysRoot(d->kit).toString(); - if (!qtVersion || !qtVersion->isValid()) - return; d->lastDeployed.insert(DeployParameters(deployableFile, deviceConfiguration()->sshParameters().host, systemRoot), @@ -147,10 +143,6 @@ bool AbstractRemoteLinuxDeployService::hasChangedSinceLastDeployment(const Deplo { if (!target()) return true; - const QtSupport::BaseQtVersion *const qtVersion - = QtSupport::QtKitInformation::qtVersion(d->kit); - if (!qtVersion || !qtVersion->isValid()) - return true; QString systemRoot; if (SysRootKitInformation::hasSysRoot(d->kit)) systemRoot = SysRootKitInformation::sysRoot(d->kit).toString(); |