Switch to unified view

a/src/qtgui/preview_w.cpp b/src/qtgui/preview_w.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: preview_w.cpp,v 1.35 2008-07-01 08:27:58 dockes Exp $ (C) 2005 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: preview_w.cpp,v 1.36 2008-09-08 16:49:10 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
...
...
751
751
752
    m_haveAnchors = false;
752
    m_haveAnchors = false;
753
753
754
    Rcl::Doc doc = idoc;
754
    Rcl::Doc doc = idoc;
755
755
756
    if (doc.meta["title"].empty()) 
756
    if (doc.meta[Rcl::Doc::keytt].empty()) 
757
    doc.meta["title"] = path_getsimple(doc.url);
757
    doc.meta[Rcl::Doc::keytt] = path_getsimple(doc.url);
758
758
759
    setCurTabProps(fn, doc, docnum);
759
    setCurTabProps(fn, doc, docnum);
760
760
761
    char csz[20];
761
    char csz[20];
762
    sprintf(csz, "%lu", (unsigned long)sz);
762
    sprintf(csz, "%lu", (unsigned long)sz);