diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-14 16:10:16 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-14 16:10:16 -0600 |
commit | 3a0c398b72f463d09bc87e598fbb6889000b6232 (patch) | |
tree | f291fe89a2004e34b3b4bdaf01e34ea18b7ef620 /ui/qt5/horizonwizard.cc | |
parent | 37d282b7a12c884f8441317c89ee3703bd29210c (diff) | |
download | horizon-3a0c398b72f463d09bc87e598fbb6889000b6232.tar.gz horizon-3a0c398b72f463d09bc87e598fbb6889000b6232.tar.bz2 horizon-3a0c398b72f463d09bc87e598fbb6889000b6232.tar.xz horizon-3a0c398b72f463d09bc87e598fbb6889000b6232.zip |
Qt UI: Implement user avatar selection
Diffstat (limited to 'ui/qt5/horizonwizard.cc')
-rw-r--r-- | ui/qt5/horizonwizard.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/qt5/horizonwizard.cc b/ui/qt5/horizonwizard.cc index 4364f90..2a8c9cc 100644 --- a/ui/qt5/horizonwizard.cc +++ b/ui/qt5/horizonwizard.cc @@ -416,6 +416,10 @@ QString HorizonWizard::toHScript() { lines << ("usergroups " + acctWidget->accountText() + " " + "users,lp,audio,cdrom,cdrw,video,games"); } + if(!acctWidget->avatarPath().isEmpty()) { + lines << ("usericon " + acctWidget->accountText() + " " + + acctWidget->avatarPath()); + } } return lines.join("\n"); |