src/dialogs/configdialog.cpp

changeset 1392
0541d9b21968
parent 1382
6f31a87006f2
child 1419
f7c53002a990
equal deleted inserted replaced
1391:5fa4bf1fc781 1392:0541d9b21968
72 72
73 ConfigDialog::ConfigDialog (QWidget* parent, ConfigDialog::Tab defaulttab, Qt::WindowFlags f) : 73 ConfigDialog::ConfigDialog (QWidget* parent, ConfigDialog::Tab defaulttab, Qt::WindowFlags f) :
74 QDialog (parent, f), 74 QDialog (parent, f),
75 HierarchyElement (parent), 75 HierarchyElement (parent),
76 ui (*new Ui_ConfigDialog), 76 ui (*new Ui_ConfigDialog),
77 libraries {config::libraries()}, 77 librariesModel {new LibrariesModel {this->libraries, this}},
78 librariesModel {new LibrariesModel {this->libraries, this}} 78 libraries {config::libraries()}
79 { 79 {
80 ui.setupUi (this); 80 ui.setupUi (this);
81 ui.librariesView->setModel(this->librariesModel); 81 ui.librariesView->setModel(this->librariesModel);
82 82
83 // Set defaults 83 // Set defaults

mercurial