Send a signal that the note has been updated
| 3458 | |
| 3459 | // Send a signal that the note has been updated |
| 3460 | void NBrowserWindow::sendDateUpdateSignal(qint64 dt) { |
| 3461 | NoteTable ntable(global.db); |
| 3462 | ntable.setDirty(this->lid, true); |
| 3463 | if (dt == 0) { |
| 3464 | dt = QDateTime::currentMSecsSinceEpoch(); |
| 3465 | this->dateEditor.setUpdateDate(dt); |
| 3466 | } |
| 3467 | emit(this->noteUpdated(lid)); |
| 3468 | emit(this->updateNoteList(lid, NOTE_TABLE_DATE_UPDATED_POSITION, dt)); |
| 3469 | } |
| 3470 | |
| 3471 | |
| 3472 |
no test coverage detected