aboutsummaryrefslogtreecommitdiff
path: root/aobutton.cpp
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2017-01-02 12:42:07 +0100
committerDavid Skoland <davidskoland@gmail.com>2017-01-02 12:42:07 +0100
commitc206cccb8e0e84713cb5e6a95ef347a30df23a18 (patch)
tree1c9e37b261520e001f97b4a8f6fe11539c053ff6 /aobutton.cpp
parentca732f27a1352ec656b2b7680c6ee2b61762c38d (diff)
added lobby buttons
Diffstat (limited to 'aobutton.cpp')
-rw-r--r--aobutton.cpp4
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 + "\")");