Vessel edit dialog
This commit is contained in:
parent
9686b96d8a
commit
eb097588ba
21 changed files with 589 additions and 97 deletions
|
|
@ -1,5 +1,10 @@
|
|||
#include "cargo_entity.h"
|
||||
|
||||
|
||||
cargo_entity::cargo_entity() {
|
||||
this->_id += QRandomGenerator().generate64();
|
||||
}
|
||||
|
||||
cargo_entity::cargo_entity(const QString &title, unsigned int volume) : _title(title), _volume(volume) {
|
||||
this->_id = volume;
|
||||
auto hash = QCryptographicHash::hash(title.toLocal8Bit(), QCryptographicHash::Md5);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue