From dec5a6370ea76f2d27798b813a54de1b52f92621 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 3 Sep 2023 19:42:19 -0500 Subject: [PATCH] Fix build with Qt 5 --- app/gui/computermodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/gui/computermodel.cpp b/app/gui/computermodel.cpp index e9677355..7be89b4c 100644 --- a/app/gui/computermodel.cpp +++ b/app/gui/computermodel.cpp @@ -204,7 +204,7 @@ void ComputerModel::handleComputerStateChanged(NvComputer* computer) // Insert the PC in the new location beginInsertRows(QModelIndex(), newListIndex, newListIndex); - m_Computers.emplace(newListIndex, computer); + m_Computers.insert(newListIndex, computer); endInsertRows(); } else {