diff options
author | RJ Ryan <rryan@mixxx.org> | 2014-01-01 06:36:23 -0500 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2014-01-01 06:36:23 -0500 |
commit | 8b07e8d86b59f1e176df8e1e7c8e977b8967bc65 (patch) | |
tree | 02afc1d9fc2a7331e29208b619d2861af6a8fe1b /src/configobject.cpp | |
parent | 1b39d53ac5367cde658326bc13eb3916447f11c3 (diff) |
Add SkinContext, a class for tracking and evaluating skin nodes within a context.
* Remove WWidget::select* methods.
* Update all WWidget-style setup() methods to take a constant.
* Migrate all non-skin uses of WWidget::select* to use XmlParse::select*.
Diffstat (limited to 'src/configobject.cpp')
-rw-r--r-- | src/configobject.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/configobject.cpp b/src/configobject.cpp index c9ea8342df..ec49a700ad 100644 --- a/src/configobject.cpp +++ b/src/configobject.cpp @@ -34,6 +34,7 @@ #include "widget/wwidget.h" #include "util/cmdlineargs.h" +#include "xmlparse.h" ConfigKey::ConfigKey() { } @@ -430,8 +431,8 @@ template <class ValueType> ConfigObject<ValueType>::ConfigObject(QDomNode node) while (!ctrl.isNull()) { if(ctrl.nodeName() == "control") { - QString group = WWidget::selectNodeQString(ctrl, "group"); - QString key = WWidget::selectNodeQString(ctrl, "key"); + QString group = XmlParse::selectNodeQString(ctrl, "group"); + QString key = XmlParse::selectNodeQString(ctrl, "key"); ConfigKey k(group, key); ValueType m(ctrl); set(k, m); |