diff options
Diffstat (limited to 'src/gui/widgets/skilldata.cpp')
-rw-r--r-- | src/gui/widgets/skilldata.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/skilldata.cpp b/src/gui/widgets/skilldata.cpp index 6137d768b..826d1d719 100644 --- a/src/gui/widgets/skilldata.cpp +++ b/src/gui/widgets/skilldata.cpp @@ -59,9 +59,8 @@ SkillData::~SkillData() void SkillData::setIcon(const std::string &iconPath) { - ResourceManager *const res = ResourceManager::getInstance(); if (!iconPath.empty()) - icon = res->getImage(iconPath); + icon = resourceManager->getImage(iconPath); if (!icon) { |