forked from qt-creator/qt-creator
VcsBase: Fix potential null pointer access.
Change-Id: I446524500b13c98edeb64e9af7d1d3390327b913 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -57,7 +57,7 @@ VcsConfigurationPage::VcsConfigurationPage(const Core::IVersionControl *vc, QWid
|
|||||||
QWizardPage(parent),
|
QWizardPage(parent),
|
||||||
d(new Internal::VcsConfigurationPagePrivate)
|
d(new Internal::VcsConfigurationPagePrivate)
|
||||||
{
|
{
|
||||||
QTC_CHECK(vc);
|
QTC_ASSERT(vc, return);
|
||||||
setTitle(tr("Configuration"));
|
setTitle(tr("Configuration"));
|
||||||
setSubTitle(tr("Please configure <b>%1</b> now.").arg(vc->displayName()));
|
setSubTitle(tr("Please configure <b>%1</b> now.").arg(vc->displayName()));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user