the media list window was first clicked.
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7418
91ce42f0-d328-0410-95d8-
f526ca767f89
*/
void MediaList::populateTree()
{
+ if (m_populating)
+ return;
+ m_populating = true;
QTreeWidgetItem *pooltreeitem;
if (!m_console->preventInUseConnect())
for(int cnter=0; cnter<headerlist.count(); cnter++) {
mp_treeWidget->resizeColumnToContents(cnter);
}
+ m_populating = false;
}
/*
QString m_currentVolumeName;
QString m_currentVolumeId;
bool m_populated;
+ bool m_populating;
bool m_checkcurwidget;
QTreeWidgetItem *m_topItem;
};