aboutsummaryrefslogtreecommitdiff
path: root/aoevidencebutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'aoevidencebutton.cpp')
-rw-r--r--aoevidencebutton.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/aoevidencebutton.cpp b/aoevidencebutton.cpp
index 573b8ef9..924aeb88 100644
--- a/aoevidencebutton.cpp
+++ b/aoevidencebutton.cpp
@@ -37,7 +37,7 @@ void AOEvidenceButton::reset()
void AOEvidenceButton::set_image(QString p_image)
{
- QString image_path = ao_app->get_evidence_path() + p_image;
+ QString image_path = ao_app->get_evidence_path(p_image);
if (file_exists(image_path))
{
@@ -53,8 +53,8 @@ void AOEvidenceButton::set_image(QString p_image)
void AOEvidenceButton::set_theme_image(QString p_image)
{
- QString theme_image_path = ao_app->get_theme_path() + p_image;
- QString default_image_path = ao_app->get_default_theme_path() + p_image;
+ QString theme_image_path = ao_app->get_theme_path(p_image);
+ QString default_image_path = ao_app->get_default_theme_path(p_image);
QString final_image_path;