diff options
author | Daniel Teske <daniel.teske@digia.com> | 2012-12-06 15:42:12 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-01-24 10:40:50 +0100 |
commit | 6804b52030364c6fe87632deb87f1c9d1c5217a0 (patch) | |
tree | 47a148c5608f348136e7df89fa8f74b6b97c0e1a | |
parent | 1bb0a7f174cb6175c1e61a64426951efe2c438b7 (diff) | |
download | qt-creator-6804b52030364c6fe87632deb87f1c9d1c5217a0.tar.gz |
TarPackageCreationStep: Use static_cast not qobject_cast
Change-Id: Ief5a5835eb43a7e24db04315166fc3723b9ed997
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
-rw-r--r-- | src/plugins/remotelinux/tarpackagecreationstep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/tarpackagecreationstep.cpp b/src/plugins/remotelinux/tarpackagecreationstep.cpp index 1a30edab5e..f7c601a04b 100644 --- a/src/plugins/remotelinux/tarpackagecreationstep.cpp +++ b/src/plugins/remotelinux/tarpackagecreationstep.cpp @@ -57,7 +57,7 @@ public: QString summaryText() const { - TarPackageCreationStep * const step = qobject_cast<TarPackageCreationStep *>(this->step()); + TarPackageCreationStep * const step = static_cast<TarPackageCreationStep *>(this->step()); if (step->packageFilePath().isEmpty()) { return QLatin1String("<font color=\"red\">") + tr("Tarball creation not possible.") + QLatin1String("</font>"); |