--- a/emailuis/nmailuiwidgets/src/nmattachmentlistwidget.cpp Fri Jun 11 13:27:14 2010 +0300
+++ b/emailuis/nmailuiwidgets/src/nmattachmentlistwidget.cpp Wed Jun 23 18:00:21 2010 +0300
@@ -350,7 +350,6 @@
} else {
NM_ERROR(1,"NmAttachmentListWidget::constructUi: DocML loading failed.");
}
-
}
/*!
@@ -446,11 +445,9 @@
if(Qt::Vertical == mOrientation){
mLayout->addItem(item,layout_count,0);
} else {
- item->setPreferredWidth(preferredWidth() / 2);
+ // Qt FW sets the correct width automatically based on the width of the child widgets
mLayout->addItem(item,layout_count / 2, layout_count % 2);
}
- // Update maximum length of the file name field.
- item->resetFileNameLength(mOrientation);
}
/*!