Skip to content
Bitcoin Roots

v29.4-roots.1 · Commit 5: [PATCH 05/13] product: establish Roots identity and Qt experience

src/qt/clientmodel.cpp

Before: src/qt/clientmodel.cpp · After: src/qt/clientmodel.cpp

File metadata
index fb81dee8daa22a0b5bf31fb6b263f02f8c62bb3a..e32141490a69e7542393cc0725449670a36079ca 100644

Download original patch · Release notes

Diff rows 1–8 of 8. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/qt/clientmodel.cpp CHANGED
@@ -210,7 +210,7 @@ bool ClientModel::isReleaseVersion() const
210
 
211
  QString ClientModel::formatClientStartupTime() const
212
  {
213
- return QDateTime::fromSecsSinceEpoch(GetStartupTime()).toString();
214
  }
215
 
216
  QString ClientModel::dataDir() const
 
210
 
211
  QString ClientModel::formatClientStartupTime() const
212
  {
213
+ return QDateTime::currentDateTime().addSecs(-TicksSeconds(GetUptime())).toString();
214
  }
215
 
216
  QString ClientModel::dataDir() const