589:1417828920e6 | 590:7aec744ce97b |
---|---|
51 Ui::NewPartUI ui; | 51 Ui::NewPartUI ui; |
52 ui.setupUi (dlg); | 52 ui.setupUi (dlg); |
53 | 53 |
54 str authortext = ld_defaultname; | 54 str authortext = ld_defaultname; |
55 | 55 |
56 if (!ld_defaultuser.value.isEmpty()) | 56 if (!ld_defaultuser.isEmpty()) |
57 authortext.append (fmt (" [%1]", ld_defaultuser)); | 57 authortext.append (fmt (" [%1]", ld_defaultuser)); |
58 | 58 |
59 ui.le_author->setText (authortext); | 59 ui.le_author->setText (authortext); |
60 | 60 |
61 switch (ld_defaultlicense) | 61 switch (ld_defaultlicense) |