Replace QList by QVector

This commit is contained in:
Chocobo1
2019-06-27 23:36:54 +08:00
parent 9e7f50517e
commit 8eabaf5eb2
2 changed files with 13 additions and 12 deletions

View File

@@ -31,6 +31,7 @@
#include <functional>
#include <QTreeView>
#include <QVector>
namespace BitTorrent
{
@@ -99,7 +100,7 @@ protected:
QModelIndex mapToSource(const QModelIndex &index) const;
QModelIndex mapFromSource(const QModelIndex &index) const;
bool loadSettings();
QList<BitTorrent::TorrentHandle *> getSelectedTorrents() const;
QVector<BitTorrent::TorrentHandle *> getSelectedTorrents() const;
protected slots:
void torrentDoubleClicked();