mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +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:
@@ -145,10 +145,10 @@ void TitleBlockDimensionWidget::initWidgets() {
|
||||
Initialize the layout of the dialog.
|
||||
*/
|
||||
void TitleBlockDimensionWidget::initLayouts() {
|
||||
QHBoxLayout *hlayout0 = new QHBoxLayout();
|
||||
auto *hlayout0 = new QHBoxLayout();
|
||||
hlayout0 -> addWidget(spinbox_label_);
|
||||
hlayout0 -> addWidget(spinbox_);
|
||||
QVBoxLayout *vlayout0 = new QVBoxLayout();
|
||||
auto *vlayout0 = new QVBoxLayout();
|
||||
vlayout0 -> addLayout(hlayout0);
|
||||
if (complete_) {
|
||||
vlayout0 -> addWidget(absolute_button_);
|
||||
|
||||
Reference in New Issue
Block a user