KrecipesView::~KrecipesView()
{
	qDeleteAll(buttonsList);
	delete viewPanel; //manually delete viewPanel because we need to be sure it is deleted
	//before the database is because its destructor uses 'database'
	delete database;
}
KrecipesView::~KrecipesView()
{
	qDeleteAll(buttonsList);
	delete viewPanel;  
	 
	delete database;
}