aboutsummaryrefslogtreecommitdiff
path: root/aobutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'aobutton.cpp')
-rw-r--r--aobutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/aobutton.cpp b/aobutton.cpp
index ded35af0..5be2e678 100644
--- a/aobutton.cpp
+++ b/aobutton.cpp
@@ -15,8 +15,8 @@ AOButton::~AOButton()
void AOButton::set_image(QString p_image)
{
- QString image_path = ao_app->get_theme_path() + p_image;
- QString default_image_path = ao_app->get_default_theme_path() + p_image;
+ QString image_path = ao_app->get_theme_path(p_image);
+ QString default_image_path = ao_app->get_default_theme_path(p_image);
if (file_exists(image_path))
this->setStyleSheet("border-image:url(\"" + image_path + "\")");