- Moved all_tab to parent class

- Fixed memory leak for all_tab
This commit is contained in:
Christophe Dumez
2008-06-25 20:02:38 +00:00
parent 95bad03321
commit dca80c3006
4 changed files with 8 additions and 8 deletions

View File

@@ -40,7 +40,6 @@ class SearchTab : public QWidget, public Ui::search_engine
QStandardItemModel *SearchListModel;
SearchListDelegate *SearchDelegate;
public:
static QList<SearchTab*> *all_tab; // To store all tabs
SearchTab(SearchEngine *parent);
~SearchTab();
bool loadColWidthSearchList();