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;} + + +