aboutsummaryrefslogtreecommitdiff
path: root/aoevidencebutton.cpp
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2018-11-17 19:57:27 -0600
committeroldmud0 <oldmud0@users.noreply.github.com>2018-11-17 19:57:27 -0600
commitb385babf77cafda37770ff2593af2a6a37e15260 (patch)
treece201ca20b290625ddfbbb39fb0b111d68ad50f7 /aoevidencebutton.cpp
parent8d61f6007ecfa3e19aa7cce6afb97aa39f143fac (diff)
parent027f95deccef0f17759cbb093dc4097caf8184da (diff)
Fix case-insensitive paths on Linux (#34)
Closes #9
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;