mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 09:55:55 +00:00
- Removed useless variable
This commit is contained in:
parent
e8454596ea
commit
8214d87ce5
@ -42,7 +42,6 @@
|
|||||||
/*SEARCH ENGINE START*/
|
/*SEARCH ENGINE START*/
|
||||||
SearchEngine::SearchEngine(bittorrent *BTSession, QSystemTrayIcon *myTrayIcon, bool systrayIntegration) : QWidget(), BTSession(BTSession), myTrayIcon(myTrayIcon), systrayIntegration(systrayIntegration){
|
SearchEngine::SearchEngine(bittorrent *BTSession, QSystemTrayIcon *myTrayIcon, bool systrayIntegration) : QWidget(), BTSession(BTSession), myTrayIcon(myTrayIcon), systrayIntegration(systrayIntegration){
|
||||||
setupUi(this);
|
setupUi(this);
|
||||||
downloader = new downloadThread(this);
|
|
||||||
// new qCompleter to the search pattern
|
// new qCompleter to the search pattern
|
||||||
startSearchHistory();
|
startSearchHistory();
|
||||||
searchCompleter = new QCompleter(searchHistory, this);
|
searchCompleter = new QCompleter(searchHistory, this);
|
||||||
@ -82,7 +81,6 @@ SearchEngine::~SearchEngine(){
|
|||||||
delete searchTimeout;
|
delete searchTimeout;
|
||||||
delete searchProcess;
|
delete searchProcess;
|
||||||
delete searchCompleter;
|
delete searchCompleter;
|
||||||
delete downloader;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SearchEngine::tab_changed(int t)
|
void SearchEngine::tab_changed(int t)
|
||||||
|
@ -51,7 +51,6 @@ class SearchEngine : public QWidget, public Ui::search_engine{
|
|||||||
bittorrent *BTSession;
|
bittorrent *BTSession;
|
||||||
QSystemTrayIcon *myTrayIcon;
|
QSystemTrayIcon *myTrayIcon;
|
||||||
bool systrayIntegration;
|
bool systrayIntegration;
|
||||||
downloadThread *downloader;
|
|
||||||
QStringList enabled_engines;
|
QStringList enabled_engines;
|
||||||
QTimer *searchTimeout;
|
QTimer *searchTimeout;
|
||||||
SearchTab *currentSearchTab;
|
SearchTab *currentSearchTab;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user