This commit is contained in:
DavidXanatos 2023-12-14 13:58:37 +01:00
parent 4985adddf0
commit c0a63b3329
4 changed files with 8 additions and 4 deletions

View File

@ -7,6 +7,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [1.12.4 / 5.67.4] - 2023-12-
### Added
- added Show Date & Time in Sbie Messages tab [#3429](https://github.com/sandboxie-plus/Sandboxie/issues/3429)
### Changed
- without an active, non expired, supporter certificate, automatic updates/downloads are not longer available for the stable channel
- the autoamtic updater will still work and notify about new stable releases, the user will be guided to visit the download page and download the latest installer manually

View File

@ -2661,7 +2661,8 @@ void CSandMan::AddLogMessage(const QDateTime& TimeStamp, const QString& Message,
}
QTreeWidgetItem* pItem = new QTreeWidgetItem(); // Time|Message
pItem->setText(0, TimeStamp.toString("hh:mm:ss.zzz"));
pItem->setText(0, TimeStamp.toString("dd.MM.yyyy hh:mm:ss.zzz"));
//pItem->setToolTip(0, TimeStamp.toString("dd.MM.yyyy hh:mm:ss.zzz"));
pItem->setData(1, Qt::UserRole, Message);
m_pMessageLog->GetTree()->addTopLevelItem(pItem);
#ifdef _DEBUG
@ -2816,7 +2817,7 @@ void CSandMan::OnLogSbieMessage(quint32 MsgCode, const QStringList& MsgData, qui
void CSandMan::SaveMessageLog(QIODevice* pFile)
{
foreach(const SSbieMsg& Msg, m_MessageLog)
pFile->write((Msg.TimeStamp.toString("hh:mm:ss.zzz") + "\t" + FormatSbieMessage(Msg.MsgCode, Msg.MsgData, Msg.ProcessName)).toLatin1() + "\n");
pFile->write((Msg.TimeStamp.toString("dd.MM.yyyy hh:mm:ss.zzz") + "\t" + FormatSbieMessage(Msg.MsgCode, Msg.MsgData, Msg.ProcessName)).toLatin1() + "\n");
}
bool CSandMan::CheckCertificate(QWidget* pWidget, int iType)

View File

@ -272,7 +272,7 @@ void CSandMan::AddFileRecovered(const QString& BoxName, const QString& FilePath)
}
QTreeWidgetItem* pItem = new QTreeWidgetItem(); // Time|Box|FilePath
pItem->setText(0, QDateTime::currentDateTime().toString("hh:mm:ss.zzz"));
pItem->setText(0, QDateTime::currentDateTime().toString("dd.MM.yyyy hh:mm:ss.zzz"));
pItem->setText(1, BoxName);
pItem->setText(2, FilePath);
pRecoveryLog->GetTree()->addTopLevelItem(pItem);

View File

@ -745,7 +745,7 @@ void CTraceView::SaveToFileAsync(const CSbieProgressPtr& pProgress, QVector<CTra
if (LastTimeStamp != pEntry->GetTimeStamp()) {
LastTimeStamp = pEntry->GetTimeStamp();
LastTimeStampStr = QDateTime::fromMSecsSinceEpoch(pEntry->GetTimeStamp()).toString("hh:mm:ss.zzz").toUtf8();
LastTimeStampStr = QDateTime::fromMSecsSinceEpoch(pEntry->GetTimeStamp()).toString("dd.MM.yyyy hh:mm:ss.zzz").toUtf8();
}
pFile->write(LastTimeStampStr);