forked from qt-creator/qt-creator
InfoBar: Enable resetting globally suppressed warnings
Change-Id: Id3f7a7f9794ac0cd2ef42107ce01f073a090de48 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -146,6 +146,12 @@ void InfoBar::initializeGloballySuppressed()
|
||||
globallySuppressed.insert(Id(id.toLatin1()));
|
||||
}
|
||||
|
||||
void InfoBar::clearGloballySuppressed()
|
||||
{
|
||||
globallySuppressed.clear();
|
||||
ICore::settings()->setValue(QLatin1String(C_SUPPRESSED_WARNINGS), QStringList());
|
||||
}
|
||||
|
||||
|
||||
InfoBarDisplay::InfoBarDisplay(QObject *parent)
|
||||
: QObject(parent)
|
||||
|
||||
Reference in New Issue
Block a user