Use set to get unique plots for update

This commit is contained in:
Magne Sjaastad
2022-05-25 21:40:52 +02:00
parent 4a1a2fe2be
commit 3545d16fbb
2 changed files with 5 additions and 8 deletions

View File

@@ -63,7 +63,7 @@ private:
std::map<QPointer<RiuMultiPlotPage>, RiaDefines::MultiPlotPageUpdateType> m_plotPagesToUpdate;
std::map<QPointer<RiuMultiPlotBook>, RiaDefines::MultiPlotPageUpdateType> m_plotBooksToUpdate;
std::vector<QPointer<RiuPlotWidget>> m_plotWidgetsToReplot;
std::set<QPointer<RiuPlotWidget>> m_plotWidgetsToReplot;
QScopedPointer<QTimer> m_plotWindowUpdateTimer;
};