forked from qt-creator/qt-creator
Describe "Reset warnings" button
Disable the button if no warnings are suppressed Task-number: QTCREATORBUG-8875 Change-Id: If019550eaf8e8745a506b512d206a2b0fd34dfeb Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
c3b6d1501c
commit
095b7fc206
@@ -152,6 +152,11 @@ void InfoBar::clearGloballySuppressed()
|
||||
ICore::settings()->setValue(QLatin1String(C_SUPPRESSED_WARNINGS), QStringList());
|
||||
}
|
||||
|
||||
bool InfoBar::anyGloballySuppressed()
|
||||
{
|
||||
return !globallySuppressed.isEmpty();
|
||||
}
|
||||
|
||||
|
||||
InfoBarDisplay::InfoBarDisplay(QObject *parent)
|
||||
: QObject(parent)
|
||||
|
||||
Reference in New Issue
Block a user