Switch to unified view

a/src/qtgui/rclmain_w.cpp b/src/qtgui/rclmain_w.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: rclmain_w.cpp,v 1.42 2007-09-08 17:21:04 dockes Exp $ (C) 2005 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: rclmain_w.cpp,v 1.43 2007-09-20 08:42:34 dockes Exp $ (C) 2005 J.F.Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
419
    }
419
    }
420
420
421
    if (!rcldb->setQuery(sdata, qopts, stemLang)) {
421
    if (!rcldb->setQuery(sdata, qopts, stemLang)) {
422
    QMessageBox::warning(0, "Recoll", tr("Cant start query: ") +
422
    QMessageBox::warning(0, "Recoll", tr("Cant start query: ") +
423
                 QString::fromAscii(rcldb->getReason().c_str()));
423
                 QString::fromAscii(rcldb->getReason().c_str()));
424
  QApplication::restoreOverrideCursor();
424
    return;
425
    return;
425
    }
426
    }
426
    curPreview = 0;
427
    curPreview = 0;
427
    DocSequenceDb *src = 
428
    DocSequenceDb *src = 
428
    new DocSequenceDb(rcldb, string(tr("Query results").utf8()), sdata);
429
    new DocSequenceDb(rcldb, string(tr("Query results").utf8()), sdata);