Commit 7332df2a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

QLinkedList is deprecated in qt5.15. We can port to QVector it's just 8

elements max, that we add by hand. So not a critical speed element.
parent 0a2fdcc4
......@@ -48,7 +48,7 @@
#include <QItemDelegate>
#include <QLineEdit>
#include <QList>
#include <QLinkedList>
#include <QVector>
#include <QMenu>
#include <QPair>
#include <QPushButton>
......@@ -75,7 +75,7 @@ static const QColor PlayerColors[MAX_PLAYERS] = {
class playersListModel : public QAbstractTableModel
{
typedef QPair<QColor, QString> PlayerId;
QLinkedList<PlayerId> m_availablePlayerId;
QVector<PlayerId> m_availablePlayerId;
NewGameDlg *m_newGameDlg;
public:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment