aboutsummaryrefslogtreecommitdiff
path: root/src/ui/button.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/button.cpp')
-rw-r--r--src/ui/button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/button.cpp b/src/ui/button.cpp
index e06ce823f..742cf0907 100644
--- a/src/ui/button.cpp
+++ b/src/ui/button.cpp
@@ -31,7 +31,7 @@ Button::Button (QWidget *parent, uint normal, uint pressed, uint cursor)
name_normal = normal;
name_pressed = pressed;
name_cursor = cursor;
- skin = Skin::getPointer();
+ skin = Skin::instance();
setON (FALSE);
setCursor (skin->getCursor (name_cursor));
connect (skin, SIGNAL (skinChanged()), this, SLOT (updateSkin()));