From 8214d87ce5221d44a44dbdd3da79a2f692c38855 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 27 Mar 2009 19:52:16 +0000 Subject: [PATCH] - Removed useless variable --- src/searchEngine.cpp | 2 -- src/searchEngine.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/searchEngine.cpp b/src/searchEngine.cpp index 640613863..b770efd64 100644 --- a/src/searchEngine.cpp +++ b/src/searchEngine.cpp @@ -42,7 +42,6 @@ /*SEARCH ENGINE START*/ SearchEngine::SearchEngine(bittorrent *BTSession, QSystemTrayIcon *myTrayIcon, bool systrayIntegration) : QWidget(), BTSession(BTSession), myTrayIcon(myTrayIcon), systrayIntegration(systrayIntegration){ setupUi(this); - downloader = new downloadThread(this); // new qCompleter to the search pattern startSearchHistory(); searchCompleter = new QCompleter(searchHistory, this); @@ -82,7 +81,6 @@ SearchEngine::~SearchEngine(){ delete searchTimeout; delete searchProcess; delete searchCompleter; - delete downloader; } void SearchEngine::tab_changed(int t) diff --git a/src/searchEngine.h b/src/searchEngine.h index 6bf54859f..ec2ae7b82 100644 --- a/src/searchEngine.h +++ b/src/searchEngine.h @@ -51,7 +51,6 @@ class SearchEngine : public QWidget, public Ui::search_engine{ bittorrent *BTSession; QSystemTrayIcon *myTrayIcon; bool systrayIntegration; - downloadThread *downloader; QStringList enabled_engines; QTimer *searchTimeout; SearchTab *currentSearchTab;