Rev 179 | Rev 182 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 179 | Rev 181 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | foreach(Output *o, mOutputs) { |
33 | foreach(Output *o, mOutputs) { |
34 | nodepath = QString("output.%1").arg(o->tableName()); |
34 | nodepath = QString("output.%1").arg(o->tableName()); |
35 | xml.setCurrentNode(nodepath); |
35 | xml.setCurrentNode(nodepath); |
36 | qDebug() << "setup of output" << o->name(); |
36 | qDebug() << "setup of output" << o->name(); |
37 | o->setup(); |
37 | o->setup(); |
38 | o->open(); |
- | |
- | 38 | bool enabled = xml.valueBool(".enabled", false); |
|
- | 39 | o->setEnabled(enabled); |
|
- | 40 | if (enabled) |
|
- | 41 | o->open(); |
|
39 | }
|
42 | }
|
40 | }
|
43 | }
|
41 | 44 | ||
42 | Output *OutputManager::find(const QString& tableName) |
45 | Output *OutputManager::find(const QString& tableName) |
43 | {
|
46 | {
|