summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/odict/dingwidget.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/apps/odict/dingwidget.cpp b/noncore/apps/odict/dingwidget.cpp
index 16164ed..f012333 100644
--- a/noncore/apps/odict/dingwidget.cpp
+++ b/noncore/apps/odict/dingwidget.cpp
@@ -119,5 +119,6 @@ BroswerContent DingWidget::parseInfo()
119 reg_word.setCaseSensitive( isCaseSensitive ); 119 reg_word.setCaseSensitive( isCaseSensitive );
120 QStringList toplist, bottomlist; 120 QStringList toplist, bottomlist;
121 QString substitute = "<strong>"+queryword+"</strong>"; 121 //QString substitute = "<strong>"+queryword+"</strong>";
122 QString substitute = queryword;
122 123
123 for( QStringList::Iterator it = search.begin() ; it != search.end() ; ++it ) 124 for( QStringList::Iterator it = search.begin() ; it != search.end() ; ++it )
@@ -131,5 +132,5 @@ BroswerContent DingWidget::parseInfo()
131 { 132 {
132 left.replace( queryword, substitute ); 133 left.replace( queryword, substitute );
133 left = left + " -- " + right; 134 left = left + " --> " + right;
134 toplist.append( left ); 135 toplist.append( left );
135 } 136 }
@@ -137,5 +138,5 @@ BroswerContent DingWidget::parseInfo()
137 { 138 {
138 right.replace( queryword, substitute ); 139 right.replace( queryword, substitute );
139 left = right + " -- " + left; 140 right = right + " --> " + left;
140 bottomlist.append( right ); 141 bottomlist.append( right );
141 } 142 }