src/dialogs/newpartdialog.cpp

changeset 1215
77a0270352a3
parent 1012
413ecd6b9801
child 1217
314e12e23c3a
equal deleted inserted replaced
1214:fed9aacd1fab 1215:77a0270352a3
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