- Fix possible crash when closing a search tab

This commit is contained in:
Christophe Dumez
2009-12-28 20:52:21 +00:00
parent 1128b3ea83
commit 7aa2994078
2 changed files with 20 additions and 8 deletions

View File

@@ -63,11 +63,11 @@ private:
Bittorrent *BTSession;
SupportedEngines *supported_engines;
QTimer *searchTimeout;
SearchTab *currentSearchTab;
QPointer<SearchTab> currentSearchTab;
#ifndef QT_4_5
QPushButton *closeTab_button;
#endif
QList<SearchTab*> all_tab; // To store all tabs
QList<QPointer<SearchTab> > all_tab; // To store all tabs
const SearchCategories full_cat_names;
GUI *parent;