src/hbwidgets/editors/hblineedit.cpp
changeset 3 11d3954df52a
parent 2 06ff229162e9
child 6 c3690ec91ef8
equal deleted inserted replaced
2:06ff229162e9 3:11d3954df52a
   592 /*!
   592 /*!
   593     \reimp
   593     \reimp
   594  */
   594  */
   595 bool HbLineEdit::canInsertFromMimeData(const QMimeData *source) const
   595 bool HbLineEdit::canInsertFromMimeData(const QMimeData *source) const
   596 {
   596 {
   597     return source->hasText() && !source->text().isEmpty();
   597     Q_D(const HbLineEdit);
       
   598     if(source->hasText() && !source->text().isEmpty()) {
       
   599         QString text(source->text());
       
   600         d->filterInputText(text);
       
   601         return !text.isEmpty();
       
   602     } else {
       
   603         return false;
       
   604     }
   598 }
   605 }
   599 
   606 
   600 /*!
   607 /*!
   601     \reimp
   608     \reimp
   602  */
   609  */