diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2020-01-18 10:49:23 +0100 |
---|---|---|
committer | Uwe Klotz <uklotz@mixxx.org> | 2020-01-18 12:57:57 +0100 |
commit | cec7e3eab76846c574168e16bf3102c98f755e53 (patch) | |
tree | 1473d63d9c07ef658be8ab4b24044473c6ec7590 /src/widget/wpushbutton.cpp | |
parent | b5a07954dece3a42c6be4403ca712b872693849f (diff) |
Fix SkinContext parent/child relationships and overall design
Diffstat (limited to 'src/widget/wpushbutton.cpp')
-rw-r--r-- | src/widget/wpushbutton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget/wpushbutton.cpp b/src/widget/wpushbutton.cpp index 6bbc8cba09..8da829fa26 100644 --- a/src/widget/wpushbutton.cpp +++ b/src/widget/wpushbutton.cpp @@ -82,7 +82,7 @@ void WPushButton::setup(const QDomNode& node, const SkinContext& context) { // context. QScopedPointer<SkinContext> createdStateContext; if (context.hasVariableUpdates(state)) { - createdStateContext.reset(new SkinContext(context)); + createdStateContext.reset(new SkinContext(&context)); createdStateContext->updateVariables(state); } |