50 @param message message to be checked |
50 @param message message to be checked |
51 @type str |
51 @type str |
52 @return flag indicating that the message should be filtered out |
52 @return flag indicating that the message should be filtered out |
53 @rtype bool |
53 @rtype bool |
54 """ |
54 """ |
55 for filterStr in Globals.toList(_filterSettings.value( |
55 return any( |
56 "MessageFilters", [])) + _defaultFilters: |
56 filterStr in message |
57 if filterStr in message: |
57 for filterStr in Globals.toList(_filterSettings.value( |
58 return True |
58 "MessageFilters", [])) + _defaultFilters |
59 |
59 ) |
60 return False |
|
61 |
60 |
62 |
61 |
63 class E5ErrorMessage(QErrorMessage): |
62 class E5ErrorMessage(QErrorMessage): |
64 """ |
63 """ |
65 Class implementing a specialized error message dialog. |
64 Class implementing a specialized error message dialog. |