mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
refactor: prefer std::set over QSet (#5703)
* refactor: use std::set instead of QSet in WatchDir.cc * refactor: use std::set instead of QSet in FileTreeView.cc * refactor: use std::set instead of QSet in ColumnResizer.cc * refactor: use std::set instead of QSet in Prefs.cc * chore: fix rebase error that changed libsmall snapshot * refactor: more replace QSet with std::set
This commit is contained in:
+3
-3
@@ -5,12 +5,12 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QSet>
|
||||
#include <QTreeView>
|
||||
|
||||
#include <libtransmission/tr-macros.h>
|
||||
|
||||
#include "Torrent.h" // FileList
|
||||
#include "Typedefs.h" // file_indices_t
|
||||
|
||||
class QAction;
|
||||
class QMenu;
|
||||
@@ -33,8 +33,8 @@ public:
|
||||
void setEditable(bool editable);
|
||||
|
||||
signals:
|
||||
void priorityChanged(QSet<int> const& file_indices, int priority);
|
||||
void wantedChanged(QSet<int> const& file_indices, bool wanted);
|
||||
void priorityChanged(file_indices_t const& file_indices, int priority);
|
||||
void wantedChanged(file_indices_t const& file_indices, bool wanted);
|
||||
void pathEdited(QString const& old_path, QString const& new_name);
|
||||
void openRequested(QString const& path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user