forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user