aboutsummaryrefslogtreecommitdiff
path: root/src/identitycollection.cpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-22 20:27:50 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-22 20:27:50 +0200
commit67633631b04c40db0affaadcdcf68068ed4357f7 (patch)
tree2bbba39317091072135a39fb6542c7fe8ac0a56f /src/identitycollection.cpp
parent4923f2e57b005d00057bb30b1599e8273ca23ba7 (diff)
downloadkristall-67633631b04c40db0affaadcdcf68068ed4357f7.tar.gz
Introduces light and dark icon themes.
Diffstat (limited to 'src/identitycollection.cpp')
-rw-r--r--src/identitycollection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/identitycollection.cpp b/src/identitycollection.cpp
index 069a492..e839996 100644
--- a/src/identitycollection.cpp
+++ b/src/identitycollection.cpp
@@ -339,8 +339,8 @@ QVariant IdentityCollection::data(const QModelIndex &index, int role) const
switch(item->type) {
case Node::Root: return QVariant { };
- case Node::Group: return QIcon(":/icons/folder-open.svg");
- case Node::Identity: return QIcon(":/icons/certificate.svg");
+ case Node::Group: return QIcon::fromTheme("folder");
+ case Node::Identity: return QIcon::fromTheme("certificate");
default: return QVariant { };
}
}