InfoBar::enableInfo -> InfoBar::unsuppressInfo

"enableInfo" actually was the reverse of "suppressInfo", so make that
obvious in the naming.

Change-Id: Ie9210533d9169d9bf486eb4034c8264b5bddda8b
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Eike Ziller
2017-12-18 09:17:25 +01:00
parent b7bdb8e275
commit 90c7170dae
3 changed files with 4 additions and 4 deletions

View File

@@ -117,7 +117,7 @@ bool InfoBar::canInfoBeAdded(Id id) const
return !containsInfo(id) && !m_suppressed.contains(id) && !globallySuppressed.contains(id);
}
void InfoBar::enableInfo(Id id)
void InfoBar::unsuppressInfo(Id id)
{
m_suppressed.remove(id);
}