InfoBar: Enable resetting globally suppressed warnings

Change-Id: Id3f7a7f9794ac0cd2ef42107ce01f073a090de48
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Orgad Shaneh
2013-01-10 20:46:06 +02:00
committed by hjk
parent 6313351d21
commit 9f67321d1f
5 changed files with 26 additions and 2 deletions

View File

@@ -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)