From 5e0616f84985148122bf9fb414cacdc0b4f02790 Mon Sep 17 00:00:00 2001 From: defnax Date: Mon, 22 Feb 2010 22:37:04 +0000 Subject: [PATCH] removed not used frame for attachments git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2393 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- .../src/gui/blogs/CreateBlogMsg.cpp | 6 ++-- retroshare-gui/src/gui/blogs/CreateBlogMsg.ui | 33 +++---------------- 2 files changed, 6 insertions(+), 33 deletions(-) diff --git a/retroshare-gui/src/gui/blogs/CreateBlogMsg.cpp b/retroshare-gui/src/gui/blogs/CreateBlogMsg.cpp index 8b5d3c901..d095fdfcd 100644 --- a/retroshare-gui/src/gui/blogs/CreateBlogMsg.cpp +++ b/retroshare-gui/src/gui/blogs/CreateBlogMsg.cpp @@ -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) { diff --git a/retroshare-gui/src/gui/blogs/CreateBlogMsg.ui b/retroshare-gui/src/gui/blogs/CreateBlogMsg.ui index 0da9d5093..2aab28f5e 100644 --- a/retroshare-gui/src/gui/blogs/CreateBlogMsg.ui +++ b/retroshare-gui/src/gui/blogs/CreateBlogMsg.ui @@ -267,35 +267,7 @@ border: 1px solid #CCCCCC;} - - - - 0 - 0 - - - - true - - - Drag and Drop Files from Search Results - - - QFrame#fileFrame{border: 2px solid black; -background: white;} - - - QFrame::StyledPanel - - - QFrame::Raised - - - - - - - + @@ -503,6 +475,9 @@ background: white;} + + +