summaryrefslogtreecommitdiff
path: root/src/plugins/qtsupport/qtkitconfigwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qtsupport/qtkitconfigwidget.cpp')
-rw-r--r--src/plugins/qtsupport/qtkitconfigwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qtsupport/qtkitconfigwidget.cpp b/src/plugins/qtsupport/qtkitconfigwidget.cpp
index 1efee3ef9a..2613e7d439 100644
--- a/src/plugins/qtsupport/qtkitconfigwidget.cpp
+++ b/src/plugins/qtsupport/qtkitconfigwidget.cpp
@@ -108,7 +108,7 @@ QWidget *QtKitConfigWidget::buttonWidget() const
static QString itemNameFor(const BaseQtVersion *v)
{
- QTC_CHECK(v);
+ QTC_ASSERT(v, return QString());
QString name = v->displayName();
if (!v->isValid())
name = QCoreApplication::translate("QtSupport::Internal::QtKitConfigWidget", "%1 (invalid)").arg(v->displayName());