/* tableWidget, Storage Tree Tree Widget inherited from ui_client.h */
m_populated = false;
- m_populating = false;
m_checkcurwidget = true;
m_closeable = false;
/* add context sensitive menu items specific to this classto the page
*/
void Clients::populateTable()
{
- if (m_populating)
- return;
- m_populating = true;
-
if (!m_console->preventInUseConnect())
return;
+ m_populated = true;
QBrush blackBrush(Qt::black);
/* Resize rows and columns */
tableWidget->resizeColumnsToContents();
tableWidget->resizeRowsToContents();
- m_populating = false;
}
/*
{
if(!m_populated) {
populateTable();
- m_populated=true;
}
}
if(!m_populated) {
populateTable();
/* Create the context menu for the client table */
- m_populated=true;
}
}