mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Pictures tied to profile are not supported on mobile
Move divepicturemodel.cpp to the desktop only category and deal with the (limited) fallout. We, currently, do not support dive pictures tied to the profile on mobile, so there is no use including this code. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
9c01315d31
commit
34bc4fc0af
5 changed files with 12 additions and 4 deletions
|
@ -135,7 +135,9 @@ void DivePictureItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef SUBSURFACE_MOBILE
|
||||
void DivePictureItem::removePicture()
|
||||
{
|
||||
DivePictureModel::instance()->removePicture(fileUrl, true);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue