summaryrefslogtreecommitdiff
path: root/ui/qt5
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-09-24 12:16:32 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-09-24 12:16:32 -0500
commitff32b07270d2b864cff6e1fa095e4c07ad7350eb (patch)
tree8a97e8823bbbc853756b2af3518a134e38311853 /ui/qt5
parentde187a6099b234689fe794050f3cf21e572021b9 (diff)
downloadhorizon-ff32b07270d2b864cff6e1fa095e4c07ad7350eb.tar.gz
horizon-ff32b07270d2b864cff6e1fa095e4c07ad7350eb.tar.bz2
horizon-ff32b07270d2b864cff6e1fa095e4c07ad7350eb.tar.xz
horizon-ff32b07270d2b864cff6e1fa095e4c07ad7350eb.zip
Qt UI: Don't use deprecated setItemSelected method
Diffstat (limited to 'ui/qt5')
-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);
}