Commit 6804b520 authored by Daniel Teske's avatar Daniel Teske Committed by Christian Kandeler

TarPackageCreationStep: Use static_cast not qobject_cast

Change-Id: Ief5a5835eb43a7e24db04315166fc3723b9ed997
Reviewed-by: default avatarChristian Kandeler <>
parent 1bb0a7f1
......@@ -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>");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment