src/dialogs/newpartdialog.cpp

changeset 1224
5a31b6d4bf81
parent 1222
34def2630300
equal deleted inserted replaced
1223:4f8fa42aed07 1224:5a31b6d4bf81
29 HierarchyElement(parent), 29 HierarchyElement(parent),
30 ui(*new Ui_NewPart) 30 ui(*new Ui_NewPart)
31 { 31 {
32 ui.setupUi(this); 32 ui.setupUi(this);
33 33
34 QString authortext = config.defaultName(); 34 QString authortext = config->defaultName();
35 35
36 if (not config.defaultUser().isEmpty()) 36 if (not config->defaultUser().isEmpty())
37 authortext.append(format(" [%1]", config.defaultUser())); 37 authortext.append(format(" [%1]", config->defaultUser()));
38 38
39 ui.author->setText(authortext); 39 ui.author->setText(authortext);
40 ui.useCaLicense->setChecked(config.useCaLicense()); 40 ui.useCaLicense->setChecked(config->useCaLicense());
41 } 41 }
42 42
43 BfcStatement NewPartDialog::getWinding() const 43 BfcStatement NewPartDialog::getWinding() const
44 { 44 {
45 if (ui.windingCcw->isChecked()) 45 if (ui.windingCcw->isChecked())

mercurial