I don't really like the duplication here...

What you are really doing is:

```C++
    /* Override title based on style */
    QString msgType;
    switch(style) {
        case MSG_ERROR: msgType="Error"; break;
        case MSG_WARNING: msgType="Warning"; break;
        case MSG_INFORMATION: msgType="Information"; break;
        default: msgType = title; // Use supplied title
    }
    if(!msgType.isEmpty())
    {
        strTitle += " - " + msgType;
    }
```