SVN commit 942064 by cloose: Fix 'list-dictionaries' output of dictionary data engine REVIEWED: http://reviewboard.kde.org/r/375/ M +7 -2 dictengine.cpp --- trunk/KDE/kdebase/workspace/plasma/dataengines/dict/dictengine.cpp #942063:942064 @@ -153,9 +153,14 @@ break; } - if (!curr.startsWith('-')) { + // ignore status code and empty lines + if (curr.startsWith("250") || curr.startsWith("110") || curr.isEmpty()) { + continue; + } + + if (!curr.startsWith('-') && !curr.startsWith('.')) { curr = curr.trimmed(); - tmp1 = curr.section(' ', 0, 1); + tmp1 = curr.section(' ', 0, 0); tmp2 = curr.section(' ', 1); // theHash.insert(tmp1, tmp2); //kDebug() << tmp1 + " " + tmp2;