Switch to unified view

a/src/qtgui/spell_w.cpp b/src/qtgui/spell_w.cpp
...
...
64
    typ = 0;
64
    typ = 0;
65
    expTypeCMB->setCurrentIndex(typ);
65
    expTypeCMB->setCurrentIndex(typ);
66
66
67
    // Stemming language combobox
67
    // Stemming language combobox
68
    stemLangCMB->clear();
68
    stemLangCMB->clear();
69
    list<string> langs;
69
    vector<string> langs;
70
    if (!getStemLangs(langs)) {
70
    if (!getStemLangs(langs)) {
71
    QMessageBox::warning(0, "Recoll", 
71
    QMessageBox::warning(0, "Recoll", 
72
                 tr("error retrieving stemming languages"));
72
                 tr("error retrieving stemming languages"));
73
    }
73
    }
74
    for (list<string>::const_iterator it = langs.begin(); 
74
    for (vector<string>::const_iterator it = langs.begin(); 
75
     it != langs.end(); it++) {
75
     it != langs.end(); it++) {
76
    stemLangCMB->
76
    stemLangCMB->
77
        addItem(QString::fromAscii(it->c_str(), it->length()));
77
        addItem(QString::fromAscii(it->c_str(), it->length()));
78
    }
78
    }
79
    stemLangCMB->setEnabled(expTypeCMB->currentIndex()==2);
79
    stemLangCMB->setEnabled(expTypeCMB->currentIndex()==2);