fix deprecated warning QSet<T>::toList() Use values() instead.

warning: ‘QList<T> QSet<T>::toList() const [with T = Conductor*]’
is deprecated: Use values() instead. [-Wdeprecated-declarations]

QT_VERSION 5.15.0
GCC 64bit
This commit is contained in:
Simon De Backer
2020-05-27 23:01:39 +02:00
committed by Laurent Trinques
parent 7948e2b1d3
commit 362509cb38
9 changed files with 16 additions and 16 deletions

View File

@@ -422,7 +422,7 @@ void TitleBlockTemplateView::drawBackground(QPainter *painter, const QRectF &rec
@return the selected logical cells, not including the spanned ones.
*/
QList<TitleBlockCell *> TitleBlockTemplateView::selectedCells() const {
return(selectedCellsSet().cells(false).toList());
return(selectedCellsSet().cells(false).values());
}
/**