Improvements in Code Quality, all basic aspects of a recipe can be displayed. #2
			
				
			
		
		
		
	| 
						 | 
				
			
			@ -6,6 +6,7 @@
 | 
			
		|||
#include <QAbstractListModel>
 | 
			
		||||
 | 
			
		||||
#include "model/recipe/recipe.h"
 | 
			
		||||
#include "model/recipe/ingredients/ingredientlistmodel.h"
 | 
			
		||||
 | 
			
		||||
using namespace std;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -25,7 +26,6 @@ public:
 | 
			
		|||
    void loadFromRecipe(Recipe recipe);
 | 
			
		||||
private:
 | 
			
		||||
    Ui::MainWindow *ui;
 | 
			
		||||
    QAbstractListModel *ingredientsListModel;
 | 
			
		||||
 | 
			
		||||
    //Hidden manipulation methods.
 | 
			
		||||
    void setRecipeName(string name);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue