summaryrefslogtreecommitdiff
path: root/noncore/apps/odict/dingwidget.cpp
Unidiff
Diffstat (limited to 'noncore/apps/odict/dingwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/odict/dingwidget.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/apps/odict/dingwidget.cpp b/noncore/apps/odict/dingwidget.cpp
index 6e3179f..61ddbbf 100644
--- a/noncore/apps/odict/dingwidget.cpp
+++ b/noncore/apps/odict/dingwidget.cpp
@@ -74,6 +74,9 @@ void DingWidget::parseInfo( QStringList &lines, QString &top, QString &bottom )
74 right = current.right( current.length() - current.find(reg_div) - 1 ); 74 right = current.right( current.length() - current.find(reg_div) - 1 );
75 if ( left.contains( reg_word ) ){ 75 if ( left.contains( reg_word ) )
76 {
76 left.replace( queryword, substitute ); 77 left.replace( queryword, substitute );
77 toplist.append( left + " -> " + right); 78 toplist.append( left + " -> " + right);
78 }else{ 79 }
80 else
81 {
79 right.replace( reg_word, substitute ); 82 right.replace( reg_word, substitute );
@@ -81,3 +84,2 @@ void DingWidget::parseInfo( QStringList &lines, QString &top, QString &bottom )
81 } 84 }
82 // .replace( reg_word, substitute );
83 } 85 }