TarPackageCreationStep: Use static_cast not qobject_cast

Change-Id: Ief5a5835eb43a7e24db04315166fc3723b9ed997
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
Daniel Teske
2012-12-06 15:42:12 +01:00
committed by Christian Kandeler
parent 1bb0a7f174
commit 6804b52030

View File

@@ -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>");