diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-09-24 12:16:32 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-09-24 12:16:32 -0500 |
commit | ff32b07270d2b864cff6e1fa095e4c07ad7350eb (patch) | |
tree | 8a97e8823bbbc853756b2af3518a134e38311853 /ui | |
parent | de187a6099b234689fe794050f3cf21e572021b9 (diff) | |
download | horizon-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')
-rw-r--r-- | ui/qt5/avatardialog.cc | 2 |
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); } |