*** empty log message ***

This commit is contained in:
dockes
2005-02-01 17:52:06 +00:00
parent d0aaf92220
commit d8b2533102
4 changed files with 21 additions and 14 deletions
+6
View File
@@ -125,6 +125,9 @@
<property name="readOnly">
<bool>true</bool>
</property>
<property name="undoRedoEnabled">
<bool>false</bool>
</property>
</widget>
<widget class="QSplitter">
<property name="name">
@@ -159,6 +162,9 @@
<property name="readOnly">
<bool>true</bool>
</property>
<property name="undoRedoEnabled">
<bool>false</bool>
</property>
</widget>
<widget class="QTextEdit">
<property name="name">
+2 -2
View File
@@ -57,6 +57,7 @@ static string plaintorich(const string &in)
for (unsigned int i = 0; i < in.length() ; i++) {
if (in[i] == '\n') {
out += "<br>";
// out += '\n';
} else {
out += in[i];
}
@@ -135,7 +136,7 @@ void RecollMain::reslistTE_clicked(int par, int car)
int reldocnum = par - 1;
reslist_current = reldocnum;
previewTextEdit->clear();
LOGDEB(("Cleared preview\n"));
if (!rcldb->getDoc(reslist_winfirst + reldocnum, doc, 0)) {
QMessageBox::warning(0, "Recoll",
QString("Can't retrieve document from database"));
@@ -185,7 +186,6 @@ void RecollMain::reslistTE_clicked(int par, int car)
#endif
QString str = QString::fromUtf8(rich.c_str(), rich.length());
previewTextEdit->setTextFormat(RichText);
previewTextEdit->setText(str);
}