Changeset View
Changeset View
Standalone View
Standalone View
src/creator/qml/metainfoeditors/AuthorEntryEditor.qml
Context not available. | |||||
39 | middleNameField.text = root.author.middleName(); | 39 | middleNameField.text = root.author.middleName(); | ||
---|---|---|---|---|---|
40 | lastNameField.text = root.author.lastName(); | 40 | lastNameField.text = root.author.lastName(); | ||
41 | nickNameField.text = root.author.nickName(); | 41 | nickNameField.text = root.author.nickName(); | ||
42 | homePageField.text = root.author.homePage(); | 42 | if (root.author.homePages.count > 0) { | ||
43 | emailField.text = root.author.email(); | 43 | homePageField.text = root.author.homePages()[0]; | ||
44 | } | ||||
45 | if (root.author.emails.count > 0) { | ||||
46 | emailField.text = root.author.emails()[0]; | ||||
47 | } | ||||
44 | } | 48 | } | ||
45 | property QtObject author: null; | 49 | property QtObject author: null; | ||
46 | 50 | | |||
Context not available. |