Remove out-commented lines in attachmentsedit.h
This commit is contained in:
parent
18d2e5f155
commit
a937bdbe3a
|
@ -29,7 +29,6 @@ public:
|
|||
Media::MediaFileInfo *fileInfo();
|
||||
void setFileInfo(Media::MediaFileInfo *fileInfo, bool updateUi = true);
|
||||
const QList<Media::AbstractAttachment *> ¤tAttachments() const;
|
||||
//template<class Container = std::initializer_list<Media::AbstractAttachment *> > void setCurrentAttachments(const Container ¤tAttachments, bool updateUi = true);
|
||||
|
||||
public slots:
|
||||
void clear();
|
||||
|
@ -64,19 +63,6 @@ inline const QList<Media::AbstractAttachment *> &AttachmentsEdit::currentAttachm
|
|||
return m_currentAttachments;
|
||||
}
|
||||
|
||||
//template<class Container>
|
||||
//void AttachmentsEdit::setCurrentAttachments(const Container &attachments, bool updateUi)
|
||||
//{
|
||||
// m_currentAttachments.clear();
|
||||
// m_currentAttachments.reserve(attachments.size());
|
||||
// for(auto *attachment : attachments) {
|
||||
// m_currentAttachments << attachment;
|
||||
// }
|
||||
// if(updateUi) {
|
||||
// setupUi();
|
||||
// }
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
#endif // ATTACHMENTSEDIT_H
|
||||
|
|
Loading…
Reference in New Issue