mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-20 21:34:31 -05:00
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:
parent
810accdfc0
commit
5e0616f849
@ -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)
|
||||
{
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user