Switch to unified view

a/GUI/prefs/confgui.cpp b/GUI/prefs/confgui.cpp
...
...
137
137
138
    ConfPanelW *panel = (ConfPanelW*)tabWidget->widget(tabindex);
138
    ConfPanelW *panel = (ConfPanelW*)tabWidget->widget(tabindex);
139
    if (panel == 0) 
139
    if (panel == 0) 
140
        return 0;
140
        return 0;
141
141
142
    ConfParamW *cp;
142
    ConfParamW *cp = 0;
143
    switch (tp) {
143
    switch (tp) {
144
    case CFPT_BOOL:
144
    case CFPT_BOOL:
145
        cp = new ConfParamBoolW(this, lnk, label, tooltip);
145
        cp = new ConfParamBoolW(this, lnk, label, tooltip);
146
        break;
146
        break;
147
    case CFPT_INT: 
147
    case CFPT_INT: 
...
...
161
    cp = new ConfParamSLW(this, lnk, label, tooltip);
161
    cp = new ConfParamSLW(this, lnk, label, tooltip);
162
    case CFPT_DNL: 
162
    case CFPT_DNL: 
163
    cp = new ConfParamDNLW(this, lnk, label, tooltip);
163
    cp = new ConfParamDNLW(this, lnk, label, tooltip);
164
        break;
164
        break;
165
    case CFPT_CSTRL:
165
    case CFPT_CSTRL:
166
    ConfParamCSLW(this, lnk, label, tooltip, *sl);
166
    cp = ConfParamCSLW(this, lnk, label, tooltip, *sl);
167
        break;
167
        break;
168
168
169
    }
169
    }
170
    panel->addWidget(cp);
170
    panel->addWidget(cp);
171
    m_params.push_back(cp);
171
    m_params.push_back(cp);