Code style refactoring done
This commit is contained in:
parent
02766bd5d2
commit
c5f1572efa
36 changed files with 202 additions and 130 deletions
|
|
@ -7,7 +7,8 @@ cargo_entity::cargo_entity() {
|
|||
this->_id = ++cargo_entity::__global_id + QRandomGenerator().generate64();
|
||||
}
|
||||
|
||||
cargo_entity::cargo_entity(const QString &title, unsigned int volume) : _title(title), _volume(volume) {
|
||||
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);
|
||||
for (auto bit : hash) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue