mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Fix build with Qt 5
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user