Commit 2b9e3ad8 authored by hjk's avatar hjk Committed by Tobias Hunger

QtSupport: Use QTC_ASSERT instead of QTC_CHECK if needed

Change-Id: Ifa588c3a2f7d8b3417cf86b22a8ba013e4cba362
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <>
Reviewed-by: default avatarNikita Baryshnikov <>
Reviewed-by: default avatarTobias Hunger <>
parent a0c7ee35
...@@ -108,7 +108,7 @@ QWidget *QtKitConfigWidget::buttonWidget() const ...@@ -108,7 +108,7 @@ QWidget *QtKitConfigWidget::buttonWidget() const
static QString itemNameFor(const BaseQtVersion *v) static QString itemNameFor(const BaseQtVersion *v)
{ {
QTC_CHECK(v); QTC_ASSERT(v, return QString());
QString name = v->displayName(); QString name = v->displayName();
if (!v->isValid()) if (!v->isValid())
name = QCoreApplication::translate("QtSupport::Internal::QtKitConfigWidget", "%1 (invalid)").arg(v->displayName()); name = QCoreApplication::translate("QtSupport::Internal::QtKitConfigWidget", "%1 (invalid)").arg(v->displayName());
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