Fix build with Qt 5
This commit is contained in:
parent
519858b708
commit
dec5a6370e
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ void ComputerModel::handleComputerStateChanged(NvComputer* computer)
|
||||||
|
|
||||||
// Insert the PC in the new location
|
// Insert the PC in the new location
|
||||||
beginInsertRows(QModelIndex(), newListIndex, newListIndex);
|
beginInsertRows(QModelIndex(), newListIndex, newListIndex);
|
||||||
m_Computers.emplace(newListIndex, computer);
|
m_Computers.insert(newListIndex, computer);
|
||||||
endInsertRows();
|
endInsertRows();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue