mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-06 23:52:31 -06:00
Replace QList by QVector
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#define PEERADDITION_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QList>
|
||||
#include <QVector>
|
||||
|
||||
#include "base/bittorrent/peerinfo.h"
|
||||
|
||||
@@ -47,14 +47,14 @@ public:
|
||||
PeersAdditionDialog(QWidget *parent);
|
||||
~PeersAdditionDialog();
|
||||
|
||||
static QList<BitTorrent::PeerAddress> askForPeers(QWidget *parent);
|
||||
static QVector<BitTorrent::PeerAddress> askForPeers(QWidget *parent);
|
||||
|
||||
protected slots:
|
||||
void validateInput();
|
||||
|
||||
private:
|
||||
Ui::PeersAdditionDialog *m_ui;
|
||||
QList<BitTorrent::PeerAddress> m_peersList;
|
||||
QVector<BitTorrent::PeerAddress> m_peersList;
|
||||
};
|
||||
|
||||
#endif // PEERADDITION_H
|
||||
|
||||
Reference in New Issue
Block a user