mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Apply clang-tidy's modernize-use-auto
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5449 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -48,7 +48,7 @@ DiagramPropertiesDialog::DiagramPropertiesDialog(Diagram *diagram, QWidget *pare
|
||||
setWindowTitle(tr("Propriétés du folio", "window title"));
|
||||
|
||||
//Border widget
|
||||
BorderPropertiesWidget *border_infos = new BorderPropertiesWidget(border, this);
|
||||
auto *border_infos = new BorderPropertiesWidget(border, this);
|
||||
border_infos -> setReadOnly(diagram_is_read_only);
|
||||
|
||||
//Title block widget
|
||||
@@ -78,7 +78,7 @@ DiagramPropertiesDialog::DiagramPropertiesDialog(Diagram *diagram, QWidget *pare
|
||||
connect(&boutons, SIGNAL(accepted()), this, SLOT(accept()));
|
||||
connect(&boutons, SIGNAL(rejected()), this, SLOT(reject()));
|
||||
|
||||
QGridLayout *glayout = new QGridLayout;
|
||||
auto *glayout = new QGridLayout;
|
||||
glayout->addWidget(border_infos,0,0);
|
||||
glayout->addWidget(titleblock_infos, 1, 0);
|
||||
glayout->addWidget(m_cpw, 0, 1, 0, 1);
|
||||
|
||||
Reference in New Issue
Block a user