Browse Source

- Removed useless variable

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
8214d87ce5
  1. 2
      src/searchEngine.cpp
  2. 1
      src/searchEngine.h

2
src/searchEngine.cpp

@ -42,7 +42,6 @@ @@ -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(){ @@ -82,7 +81,6 @@ SearchEngine::~SearchEngine(){
delete searchTimeout;
delete searchProcess;
delete searchCompleter;
delete downloader;
}
void SearchEngine::tab_changed(int t)

1
src/searchEngine.h

@ -51,7 +51,6 @@ class SearchEngine : public QWidget, public Ui::search_engine{ @@ -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;

Loading…
Cancel
Save