mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +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:
@@ -179,8 +179,8 @@ void ProjectMainConfigPage::initWidgets() {
|
||||
Initialize the layout of this page.
|
||||
*/
|
||||
void ProjectMainConfigPage::initLayout() {
|
||||
QVBoxLayout *main_layout0 = new QVBoxLayout();
|
||||
QHBoxLayout *title_layout0 = new QHBoxLayout();
|
||||
auto *main_layout0 = new QVBoxLayout();
|
||||
auto *title_layout0 = new QHBoxLayout();
|
||||
title_layout0 -> addWidget(title_label_);
|
||||
title_layout0 -> addWidget(title_value_);
|
||||
main_layout0 -> addLayout(title_layout0);
|
||||
@@ -255,7 +255,7 @@ void ProjectAutoNumConfigPage::applyProjectConf() {}
|
||||
*/
|
||||
void ProjectAutoNumConfigPage::initWidgets()
|
||||
{
|
||||
QTabWidget *tab_widget = new QTabWidget(this);
|
||||
auto *tab_widget = new QTabWidget(this);
|
||||
|
||||
//Management tab
|
||||
m_amw = new AutoNumberingManagementW(project());
|
||||
@@ -277,7 +277,7 @@ void ProjectAutoNumConfigPage::initWidgets()
|
||||
m_faw = new FolioAutonumberingW(project());
|
||||
tab_widget->addTab(m_faw, tr("Folio autonumérotation"));
|
||||
|
||||
QHBoxLayout *main_layout = new QHBoxLayout();
|
||||
auto *main_layout = new QHBoxLayout();
|
||||
main_layout->addWidget(tab_widget);
|
||||
setLayout(main_layout);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user