summaryrefslogtreecommitdiff
path: root/ui/qt5/horizonwizard.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt5/horizonwizard.cc')
-rw-r--r--ui/qt5/horizonwizard.cc4
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");