mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-23 14:39:34 -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);
|
SubFileItem *file = new SubFileItem(hash, fname, size, flags, srcId);
|
||||||
|
|
||||||
mAttachments.push_back(file);
|
mAttachments.push_back(file);
|
||||||
QLayout *layout = ui.fileFrame->layout();
|
ui.verticalLayout_3->addWidget(file);
|
||||||
layout->addWidget(file);
|
|
||||||
|
|
||||||
if (mCheckAttachment)
|
if (mCheckAttachment)
|
||||||
{
|
{
|
||||||
@ -424,8 +423,7 @@ void CreateBlogMsg::addAttachment(std::string path)
|
|||||||
SubFileItem *file = new SubFileItem(path);
|
SubFileItem *file = new SubFileItem(path);
|
||||||
|
|
||||||
mAttachments.push_back(file);
|
mAttachments.push_back(file);
|
||||||
QLayout *layout = ui.fileFrame->layout();
|
ui.verticalLayout_3->addWidget(file);
|
||||||
layout->addWidget(file);
|
|
||||||
|
|
||||||
if (mCheckAttachment)
|
if (mCheckAttachment)
|
||||||
{
|
{
|
||||||
|
@ -267,35 +267,7 @@ border: 1px solid #CCCCCC;}</string>
|
|||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QFrame" name="fileFrame">
|
<layout class="QVBoxLayout" name="verticalLayout_3"/>
|
||||||
<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>
|
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="verticalSpacer">
|
<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"/>
|
||||||
|
<include location="../images.qrc"/>
|
||||||
|
<include location="../images.qrc"/>
|
||||||
|
<include location="../images.qrc"/>
|
||||||
</resources>
|
</resources>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
Loading…
Reference in New Issue
Block a user