--- a/src/hbwidgets/editors/hbtextedit.cpp Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbwidgets/editors/hbtextedit.cpp Wed Aug 18 10:05:37 2010 +0300
@@ -30,7 +30,7 @@
#include <QTextCursor>
#ifdef HB_TEXT_MEASUREMENT_UTILITY
-#include "hbtextmeasurementutility_p.h"
+#include "hbtextmeasurementutility_r_p.h"
#include "hbfeaturemanager_r.h"
#endif //HB_TEXT_MEASUREMENT_UTILITY
@@ -173,8 +173,6 @@
void HbTextEdit::resizeEvent(QGraphicsSceneResizeEvent *event)
{
HbAbstractEdit::resizeEvent(event);
-
- document()->setTextWidth(primitive(HbStyle::P_Edit_text)->boundingRect().width());
}