Switch to unified view

a/src/qtgui/uiprefs_w.cpp b/src/qtgui/uiprefs_w.cpp
...
...
182
    }
182
    }
183
    int cur = prefs.queryStemLang == ""  ? 0 : 1;
183
    int cur = prefs.queryStemLang == ""  ? 0 : 1;
184
    for (vector<string>::const_iterator it = langs.begin(); 
184
    for (vector<string>::const_iterator it = langs.begin(); 
185
     it != langs.end(); it++) {
185
     it != langs.end(); it++) {
186
    stemLangCMB->
186
    stemLangCMB->
187
        addItem(QString::fromAscii(it->c_str(), it->length()));
187
        addItem(QString::fromUtf8(it->c_str(), it->length()));
188
    if (cur == 0 && !strcmp((const char*)prefs.queryStemLang.toAscii(), 
188
    if (cur == 0 && !strcmp((const char*)prefs.queryStemLang.toUtf8(), 
189
                it->c_str())) {
189
                it->c_str())) {
190
        cur = stemLangCMB->count();
190
        cur = stemLangCMB->count();
191
    }
191
    }
192
    }
192
    }
193
    stemLangCMB->setCurrentIndex(cur);
193
    stemLangCMB->setCurrentIndex(cur);