Commit f451908d authored by Christian Kandeler's avatar Christian Kandeler
Browse files

VcsBase: Fix potential null pointer access.



Change-Id: I446524500b13c98edeb64e9af7d1d3390327b913
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 07971195
......@@ -57,7 +57,7 @@ VcsConfigurationPage::VcsConfigurationPage(const Core::IVersionControl *vc, QWid
QWizardPage(parent),
d(new Internal::VcsConfigurationPagePrivate)
{
QTC_CHECK(vc);
QTC_ASSERT(vc, return);
setTitle(tr("Configuration"));
setSubTitle(tr("Please configure <b>%1</b> now.").arg(vc->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