summaryrefslogtreecommitdiff
path: root/ui/qt5/avatardialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt5/avatardialog.cc')
-rw-r--r--ui/qt5/avatardialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt5/avatardialog.cc b/ui/qt5/avatardialog.cc
index b7662b9..02c2864 100644
--- a/ui/qt5/avatardialog.cc
+++ b/ui/qt5/avatardialog.cc
@@ -68,5 +68,5 @@ void AvatarDialog::setAvatar(QString path) {
if(items.size() == 0)
aviList->clearSelection();
else
- aviList->setItemSelected(items.at(0), true);
+ items.at(0)->setSelected(true);
}