solvedthanks Lykurg for helping
here is the code that solvs
Qt Code:
int i = 0; QLayoutItem *child; while ((child = m_thumbnailsWidgetHLayout->takeAt(0)) != 0) { delete child->widget(); delete child; }To copy to clipboard, switch view to plain text mode
Bookmarks