diff options
Diffstat (limited to 'aobutton.cpp')
| -rw-r--r-- | aobutton.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/aobutton.cpp b/aobutton.cpp index b96af678..3566c2b6 100644 --- a/aobutton.cpp +++ b/aobutton.cpp @@ -1,3 +1,5 @@ +#include <QDebug> + #include "path_functions.h" #include "file_functions.h" @@ -16,7 +18,7 @@ AOButton::~AOButton() void AOButton::set_image(QString p_image) { QString image_path = get_theme_path() + p_image; - QString default_image_path = get_base_path() + "themes/default/"; + QString default_image_path = get_default_theme_path() + p_image; if (file_exists(image_path)) this->setStyleSheet("border-image:url(\"" + image_path + "\")"); |
