mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Add the option of automatically picking up URLs from the clipboard on window focus (#1633)
This commit is contained in:
@@ -88,6 +88,7 @@ protected:
|
||||
void contextMenuEvent(QContextMenuEvent*) override;
|
||||
void dragEnterEvent(QDragEnterEvent*) override;
|
||||
void dropEvent(QDropEvent*) override;
|
||||
bool event(QEvent*) override;
|
||||
|
||||
private slots:
|
||||
void addTorrents(QStringList const& filenames);
|
||||
@@ -175,6 +176,8 @@ private:
|
||||
QWidget* filter_bar_ = {};
|
||||
QAction* alt_speed_action_ = {};
|
||||
QString error_message_;
|
||||
bool auto_add_clipboard_links = {};
|
||||
QStringList clipboard_processed_keys_ = {};
|
||||
|
||||
QString const total_ratio_stats_mode_name_ = QStringLiteral("total-ratio");
|
||||
QString const total_transfer_stats_mode_name_ = QStringLiteral("total-transfer");
|
||||
|
||||
Reference in New Issue
Block a user