mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: turn picture-table into std::vector<>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
3cb04d230b
commit
9e3e0a5a05
29 changed files with 170 additions and 316 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "core/divelog.h"
|
||||
#include "core/equipment.h"
|
||||
#include "core/pictureobj.h"
|
||||
#include "core/picture.h"
|
||||
#include "core/taxonomy.h"
|
||||
#include <QVector>
|
||||
#include <QAction>
|
||||
|
@ -144,7 +144,7 @@ struct PictureListForDeletion {
|
|||
};
|
||||
struct PictureListForAddition {
|
||||
dive *d;
|
||||
std::vector<PictureObj> pics;
|
||||
std::vector<picture> pics;
|
||||
};
|
||||
void setPictureOffset(dive *d, const QString &filename, offset_t offset);
|
||||
void removePictures(const std::vector<PictureListForDeletion> &pictures);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue