Commit 302148e2 authored by David Schulz's avatar David Schulz

Utils: Remove assert when hiding progress indicator.

Just return silently when trying to hide a progress indicator
that wasn't initialized by showProgressIndicator.

Change-Id: If8c68dbc9de481c8b1cc6b8dd38c9d8e70b00065
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent f34773e9
......@@ -326,8 +326,8 @@ void BaseTreeView::showProgressIndicator()
*/
void BaseTreeView::hideProgressIndicator()
{
QTC_ASSERT(d->m_progressIndicator, return);
d->m_progressIndicator->hide();
if (d->m_progressIndicator)
d->m_progressIndicator->hide();
}
void BaseTreeView::setSettings(QSettings *settings, const QByteArray &key)
......
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