-rw-r--r-- | noncore/apps/odict/dingwidget.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/noncore/apps/odict/dingwidget.cpp b/noncore/apps/odict/dingwidget.cpp index f012333..4be6e71 100644 --- a/noncore/apps/odict/dingwidget.cpp +++ b/noncore/apps/odict/dingwidget.cpp | |||
@@ -119,6 +119,5 @@ 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; | ||
123 | 122 | ||
124 | for( QStringList::Iterator it = search.begin() ; it != search.end() ; ++it ) | 123 | for( QStringList::Iterator it = search.begin() ; it != search.end() ; ++it ) |
@@ -143,6 +142,6 @@ BroswerContent DingWidget::parseInfo() | |||
143 | } | 142 | } |
144 | 143 | ||
145 | s_strings.top = toplist.join( "\n" ); | 144 | s_strings.top = toplist.join( "<br>" ); |
146 | s_strings.bottom = bottomlist.join( "\n" ); | 145 | s_strings.bottom = bottomlist.join( "<br>" ); |
147 | 146 | ||
148 | return s_strings; | 147 | return s_strings; |