From ffc0c8ee993ce6301b8f6c0992b6e1652d2b08d7 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 29 May 2015 14:42:57 -0300 Subject: Move DivePictureModel to qt-models This class will surely be used on the mobile version, and it was very tangled inside divepicturewidget. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/profile/divepixmapitem.cpp | 2 +- qt-ui/profile/profilewidget2.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'qt-ui/profile') diff --git a/qt-ui/profile/divepixmapitem.cpp b/qt-ui/profile/divepixmapitem.cpp index c9129761e..581f6f9b4 100644 --- a/qt-ui/profile/divepixmapitem.cpp +++ b/qt-ui/profile/divepixmapitem.cpp @@ -1,6 +1,6 @@ #include "divepixmapitem.h" #include "animationfunctions.h" -#include +#include "divepicturemodel.h" #include #include diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index d70d88763..fb75b08cf 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -13,6 +13,7 @@ #include "divepicturewidget.h" #include "diveplannermodel.h" #include "models.h" +#include "divepicturemodel.h" #include "maintab.h" #include "diveplanner.h" -- cgit v1.2.3-70-g09d2