forked from qt-creator/qt-creator
Valgrind: Modernize
modernize-* Change-Id: I6db60dce78cf2575e36caa597b1f095adba34fd9 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -123,9 +123,9 @@ SuppressionDialog::SuppressionDialog(MemcheckErrorView *view, const QList<Error>
|
||||
{
|
||||
setWindowTitle(tr("Save Suppression"));
|
||||
|
||||
QLabel *fileLabel = new QLabel(tr("Suppression File:"), this);
|
||||
auto fileLabel = new QLabel(tr("Suppression File:"), this);
|
||||
|
||||
QLabel *suppressionsLabel = new QLabel(tr("Suppression:"), this);
|
||||
auto suppressionsLabel = new QLabel(tr("Suppression:"), this);
|
||||
suppressionsLabel->setBuddy(m_suppressionEdit);
|
||||
|
||||
QFont font;
|
||||
@@ -135,7 +135,7 @@ SuppressionDialog::SuppressionDialog(MemcheckErrorView *view, const QList<Error>
|
||||
m_buttonBox = new QDialogButtonBox(this);
|
||||
m_buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Save);
|
||||
|
||||
QFormLayout *formLayout = new QFormLayout(this);
|
||||
auto formLayout = new QFormLayout(this);
|
||||
formLayout->addRow(fileLabel, m_fileChooser);
|
||||
formLayout->addRow(suppressionsLabel);
|
||||
formLayout->addRow(m_suppressionEdit);
|
||||
|
||||
Reference in New Issue
Block a user