removed not used frame for attachments

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2393 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-02-22 22:37:04 +00:00
parent 810accdfc0
commit 5e0616f849
2 changed files with 6 additions and 33 deletions

View File

@ -378,8 +378,7 @@ void CreateBlogMsg::addAttachment(std::string hash, std::string fname, uint64_t
SubFileItem *file = new SubFileItem(hash, fname, size, flags, srcId);
mAttachments.push_back(file);
QLayout *layout = ui.fileFrame->layout();
layout->addWidget(file);
ui.verticalLayout_3->addWidget(file);
if (mCheckAttachment)
{
@ -424,8 +423,7 @@ void CreateBlogMsg::addAttachment(std::string path)
SubFileItem *file = new SubFileItem(path);
mAttachments.push_back(file);
QLayout *layout = ui.fileFrame->layout();
layout->addWidget(file);
ui.verticalLayout_3->addWidget(file);
if (mCheckAttachment)
{

View File

@ -267,35 +267,7 @@ border: 1px solid #CCCCCC;}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QFrame" name="fileFrame">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="acceptDrops">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Drag and Drop Files from Search Results</string>
</property>
<property name="styleSheet">
<string notr="true">QFrame#fileFrame{border: 2px solid black;
background: white;}</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout"/>
</item>
</layout>
</widget>
<layout class="QVBoxLayout" name="verticalLayout_3"/>
</item>
<item>
<spacer name="verticalSpacer">
@ -503,6 +475,9 @@ background: white;}</string>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
</resources>
<connections/>
</ui>