mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-08 18:02:51 -05:00
Remove Tools::currentDateTimeUtc().
This commit is contained in:
parent
60daa2b41b
commit
9882f16614
10 changed files with 19 additions and 32 deletions
|
|
@ -42,7 +42,7 @@ Metadata::Metadata(QObject* parent)
|
|||
m_data.protectNotes = false;
|
||||
// m_data.autoEnableVisualHiding = false;
|
||||
|
||||
QDateTime now = Tools::currentDateTimeUtc();
|
||||
QDateTime now = QDateTime::currentDateTimeUtc();
|
||||
m_data.nameChanged = now;
|
||||
m_data.descriptionChanged = now;
|
||||
m_data.defaultUserNameChanged = now;
|
||||
|
|
@ -67,7 +67,7 @@ template <class P, class V> bool Metadata::set(P& property, const V& value, QDat
|
|||
if (property != value) {
|
||||
property = value;
|
||||
if (m_updateDatetime) {
|
||||
dateTime = Tools::currentDateTimeUtc();
|
||||
dateTime = QDateTime::currentDateTimeUtc();
|
||||
}
|
||||
Q_EMIT modified();
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue