forked from qt-creator/qt-creator
analyzer: fix suppression dialog
Task-number: QTCREATORBUG-6500 Change-Id: I8297c91238c4edfd28d9813a92f082f33a6e763a Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -526,14 +526,7 @@ void MemcheckErrorView::contextMenuEvent(QContextMenuEvent *e)
|
||||
|
||||
void MemcheckErrorView::suppressError()
|
||||
{
|
||||
SuppressionDialog *dialog = new SuppressionDialog(this);
|
||||
if (dialog->shouldShow()) {
|
||||
dialog->setModal(true);
|
||||
dialog->show();
|
||||
dialog->setAttribute(Qt::WA_DeleteOnClose, true);
|
||||
} else {
|
||||
delete dialog;
|
||||
}
|
||||
SuppressionDialog::maybeShow(this);
|
||||
}
|
||||
|
||||
void MemcheckErrorView::goNext()
|
||||
|
||||
Reference in New Issue
Block a user