firemail

标题: model/view 双击树控件就卡死 [打印本页]

作者: Qter    时间: 2018-4-5 12:26
标题: model/view 双击树控件就卡死
QModelIndex RecordTreeModel::index(int row, int column, const QModelIndex &parent) const
{
    if (!hasIndex(row, column, parent))
        return QModelIndex();
    if (parent.isValid())
        return QModelIndex();


加上红色的两行





欢迎光临 firemail (http://www.firemail.wang:8088/) Powered by Discuz! X3