remove remaining hashes
hashes were still displayed due to the use
of incorrect role in roledata polling.
(Person::Role instead of Ring::Role)
Change-Id: I94a57d0e199f8a27d15efa8fb0a42481d639037f
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
diff --git a/smartlistdelegate.cpp b/smartlistdelegate.cpp
index aea864f..ac38147 100644
--- a/smartlistdelegate.cpp
+++ b/smartlistdelegate.cpp
@@ -148,7 +148,7 @@
}
// Display the ID under the name
- QString idStr = index.data(static_cast<int>(Person::Role::IdOfLastCMUsed)).value<QString>();
+ QString idStr = index.data(static_cast<int>(Ring::Role::Number)).value<QString>();
pen.setColor(RingTheme::grey_);
painter->setPen(pen);
font.setItalic(true);