GUI: better handling of suppressions
This commit is contained in:
parent
5e34847592
commit
8c228c6ced
|
@ -38,6 +38,8 @@ Suppressions::Suppression NewSuppressionDialog::getSuppression() const
|
|||
{
|
||||
Suppressions::Suppression ret;
|
||||
ret.errorId = mUI->mComboErrorId->currentText().toStdString();
|
||||
if (ret.errorId.empty())
|
||||
ret.errorId = "*";
|
||||
ret.fileName = mUI->mTextFileName->text().toStdString();
|
||||
ret.lineNumber = mUI->mTextLineNumber->text().toInt();
|
||||
ret.symbolName = mUI->mTextSymbolName->text().toStdString();
|
||||
|
|
|
@ -77,6 +77,12 @@
|
|||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<tabstops>
|
||||
<tabstop>mComboErrorId</tabstop>
|
||||
<tabstop>mTextFileName</tabstop>
|
||||
<tabstop>mTextLineNumber</tabstop>
|
||||
<tabstop>mTextSymbolName</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
|
|
Loading…
Reference in New Issue