Like this:
```c++
    if( m_pConfig->getValueString(ConfigKey("[Waveform]","WaveformOverviewType"),
            "0").toInt() == 0 ) {
        overviewWidget = new WOverviewLMH(pSafeChannelStr, m_pConfig, m_pParent);
    }
    else
        overviewWidget = new WOverviewHSV(pSafeChannelStr, m_pConfig, m_pParent);
```
?