Switch to unified view

a/src/qtgui/spell_w.cpp b/src/qtgui/spell_w.cpp
...
...
113
    if (baseWordLE->text().isEmpty()) 
113
    if (baseWordLE->text().isEmpty()) 
114
    return;
114
    return;
115
115
116
    string reason;
116
    string reason;
117
    if (!maybeOpenDb(reason)) {
117
    if (!maybeOpenDb(reason)) {
118
  QMessageBox::critical(0, "Recoll", QString(reason.c_str()));
118
    LOGDEB(("SpellW::doExpand: db error: %s\n", reason.c_str()));
119
    LOGDEB(("SpellW::doExpand: db error: %s\n", reason.c_str()));
119
    return;
120
    return;
120
    }
121
    }
121
122
122
    string expr = string((const char *)baseWordLE->text().toUtf8());
123
    string expr = string((const char *)baseWordLE->text().toUtf8());