Removed IngredientListModel from mainwindow.

This commit is contained in:
Andrew Lalis 2018-02-12 21:31:20 +01:00
parent e4dcd17e3e
commit e37179e4ae
1 changed files with 1 additions and 1 deletions

View File

@ -6,6 +6,7 @@
#include <QAbstractListModel> #include <QAbstractListModel>
#include "model/recipe/recipe.h" #include "model/recipe/recipe.h"
#include "model/recipe/ingredients/ingredientlistmodel.h"
using namespace std; using namespace std;
@ -25,7 +26,6 @@ public:
void loadFromRecipe(Recipe recipe); void loadFromRecipe(Recipe recipe);
private: private:
Ui::MainWindow *ui; Ui::MainWindow *ui;
QAbstractListModel *ingredientsListModel;
//Hidden manipulation methods. //Hidden manipulation methods.
void setRecipeName(string name); void setRecipeName(string name);