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 |