Switch to unified view

a/src/qtgui/rclmain.cpp b/src/qtgui/rclmain.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: rclmain.cpp,v 1.17 2006-04-01 21:02:12 dockes Exp $ (C) 2005 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: rclmain.cpp,v 1.18 2006-04-04 07:55:29 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
...
...
478
    resList->resetSearch();
478
    resList->resetSearch();
479
    curPreview = 0;
479
    curPreview = 0;
480
480
481
    DocSequence *docsource;
481
    DocSequence *docsource;
482
    if (sortwidth > 0) {
482
    if (sortwidth > 0) {
483
    DocSequenceHistory myseq(rcldb, m_history, tr("Document history"));
483
    DocSequenceHistory myseq(rcldb, m_history, string(tr("Document history").utf8()));
484
    docsource = new DocSeqSorted(myseq, sortwidth, sortspecs,
484
    docsource = new DocSeqSorted(myseq, sortwidth, sortspecs,
485
                     string(tr("Document history (sorted)").utf8()));
485
                     string(tr("Document history (sorted)").utf8()));
486
    } else {
486
    } else {
487
    docsource = new DocSequenceHistory(rcldb, m_history, 
487
    docsource = new DocSequenceHistory(rcldb, m_history, 
488
                       string(tr("Document history").utf8()));
488
                       string(tr("Document history").utf8()));