Skip to content

Commit 7f1bead

Browse files
committed
dlvdebugger: gotoFileByIndex
1 parent 1f1b22d commit 7f1bead

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

liteidex/src/plugins/dlvdebugger/dlvrpcdebugger.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,8 @@ void DlvRpcDebugger::removeAllWatch()
397397

398398
void DlvRpcDebugger::gotoFileByIndex(const QStandardItemModel *model, QModelIndex index, int ifile, int iline)
399399
{
400-
QVariant file = index.siblingAtColumn(ifile).data();
401-
QVariant line = index.siblingAtColumn(iline).data();
400+
QVariant file = index.sibling(index.row(),ifile).data();
401+
QVariant line = index.sibling(index.row(),iline).data();
402402
if( !file.isValid() || !line.isValid() ) {
403403
return;
404404
}

0 commit comments

Comments
 (0)