Switch to unified view

a/src/qtgui/preview_w.h b/src/qtgui/preview_w.h
...
...
55
    string ipath; // Internal doc path inside file
55
    string ipath; // Internal doc path inside file
56
    int docnum;  // Index of doc in db search results.
56
    int docnum;  // Index of doc in db search results.
57
    // doc out of internfile (previous fields come from the index) with
57
    // doc out of internfile (previous fields come from the index) with
58
    // main text erased (for space).
58
    // main text erased (for space).
59
    Rcl::Doc fdoc; 
59
    Rcl::Doc fdoc; 
60
    // Saved rich text: the textedit seems to sometimes (but not
60
    // Saved rich (or plain actually) text: the textedit seems to
61
    // always) return its text stripped of tags, so this is needed
61
    // sometimes (but not always) return its text stripped of tags, so
62
    // (for printing for example)
62
    // this is needed (for printing for example)
63
    QString  richtxt; 
63
    QString  richtxt;
64
    Qt::TextFormat format;
64
    TabData() 
65
    TabData() 
65
    : docnum(-1) 
66
    : docnum(-1) 
66
    {}
67
    {}
67
};
68
};
68
69