src/dialogs/newpartdialog.cpp

changeset 1017
fc1c13db9618
parent 1014
f0a8ecb6a357
child 1028
5877e49e9a28
equal deleted inserted replaced
1016:3b279b5e57d3 1017:fc1c13db9618
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 = m_config->defaultName();
35 35
36 if (not Config->defaultUser().isEmpty()) 36 if (not m_config->defaultUser().isEmpty())
37 authortext.append (format (" [%1]", Config->defaultUser())); 37 authortext.append (format (" [%1]", m_config->defaultUser()));
38 38
39 ui.author->setText (authortext); 39 ui.author->setText (authortext);
40 ui.useCaLicense->setChecked (Config->useCaLicense()); 40 ui.useCaLicense->setChecked (m_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