v30.3-roots.1 · Commit 5: [PATCH 05/68] feat(qt): preserve Roots identity and GUI support on Core 30.3
src/qt/clientmodel.cpp
Before: src/qt/clientmodel.cpp · After: src/qt/clientmodel.cpp
File metadata
index dda26fa059b1cccbd375da1aed7b00a600ca43f5..cd7d9e3258799166ebdb8cb58065352946e4cba8 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
|