Switch to unified view

a/src/qtgui/ssearch_w.cpp b/src/qtgui/ssearch_w.cpp
...
...
137
        if (prefs.autoSuffsEnable)
137
        if (prefs.autoSuffsEnable)
138
            sdata = wasaStringToRcl(rclconfig, u8, reason, (const char *)prefs.autoSuffs.toUtf8());
138
            sdata = wasaStringToRcl(rclconfig, u8, reason, (const char *)prefs.autoSuffs.toUtf8());
139
        else
139
        else
140
            sdata = wasaStringToRcl(rclconfig, u8, reason);
140
            sdata = wasaStringToRcl(rclconfig, u8, reason);
141
    if (sdata == 0) {
141
    if (sdata == 0) {
142
        QMessageBox::warning(0, "Recoll", tr("Bad query string") +
142
        QMessageBox::warning(0, "Recoll", tr("Bad query string") + ": " +
143
                 QString::fromAscii(reason.c_str()));
143
                 QString::fromAscii(reason.c_str()));
144
        return;
144
        return;
145
    }
145
    }
146
    if (prefs.ssearchAutoPhrase) {
146
    if (prefs.ssearchAutoPhrase) {
147
        sdata->maybeAddAutoPhrase();
147
        sdata->maybeAddAutoPhrase();