mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-06 23:52:31 -06:00
Make middle-click close search tabs
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Bittorrent Client using Qt and libtorrent.
|
||||
* Copyright (C) 2020, Will Da Silva <will@willdasilva.xyz>
|
||||
* Copyright (C) 2015, 2018 Vladimir Golovnev <glassez@yandex.ru>
|
||||
* Copyright (C) 2006 Christophe Dumez <chris@qbittorrent.org>
|
||||
*
|
||||
@@ -33,6 +34,8 @@
|
||||
#include <QPointer>
|
||||
#include <QWidget>
|
||||
|
||||
class QEvent;
|
||||
class QObject;
|
||||
class QTabWidget;
|
||||
|
||||
class MainWindow;
|
||||
@@ -59,6 +62,7 @@ private slots:
|
||||
void on_pluginsButton_clicked();
|
||||
|
||||
private:
|
||||
bool eventFilter(QObject *object, QEvent *event) override;
|
||||
void tabChanged(int index);
|
||||
void closeTab(int index);
|
||||
void tabStatusChanged(QWidget *tab);
|
||||
|
||||
Reference in New Issue
Block a user