From e37179e4ae4edade30284b689fd1749c0bf84143 Mon Sep 17 00:00:00 2001 From: Andrew Lalis Date: Mon, 12 Feb 2018 21:31:20 +0100 Subject: [PATCH] Removed IngredientListModel from mainwindow. --- userInterface/mainwindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userInterface/mainwindow.h b/userInterface/mainwindow.h index 86f7910..ec2a15e 100644 --- a/userInterface/mainwindow.h +++ b/userInterface/mainwindow.h @@ -6,6 +6,7 @@ #include #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);