--- a/src/hbwidgets/editors/hblineedit.cpp Fri May 14 16:09:54 2010 +0300
+++ b/src/hbwidgets/editors/hblineedit.cpp Thu May 27 13:10:59 2010 +0300
@@ -594,7 +594,14 @@
*/
bool HbLineEdit::canInsertFromMimeData(const QMimeData *source) const
{
- return source->hasText() && !source->text().isEmpty();
+ Q_D(const HbLineEdit);
+ if(source->hasText() && !source->text().isEmpty()) {
+ QString text(source->text());
+ d->filterInputText(text);
+ return !text.isEmpty();
+ } else {
+ return false;
+ }
}
/*!