summaryrefslogtreecommitdiff
path: root/src/gui/widgets/icon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/icon.cpp')
-rw-r--r--src/gui/widgets/icon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/icon.cpp b/src/gui/widgets/icon.cpp
index 4be9ae127..5876b1201 100644
--- a/src/gui/widgets/icon.cpp
+++ b/src/gui/widgets/icon.cpp
@@ -32,7 +32,7 @@
Icon::Icon(const Widget2 *const widget,
const std::string &file) :
Widget(widget),
- mImage(ResourceManager::getInstance()->getImage(file))
+ mImage(resourceManager->getImage(file))
{
if (mImage)
{