mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 17:40:05 +00:00
UTC in the main window should use the NTP time offset
This commit is contained in:
parent
c76c9b57ed
commit
719142ca12
3 changed files with 45 additions and 9 deletions
|
|
@ -1300,8 +1300,8 @@ void MainWindowImpl::ConnectOtherSignals()
|
|||
this,
|
||||
[this]()
|
||||
{
|
||||
timeLabel_->setText(QString::fromStdString(
|
||||
util::TimeString(std::chrono::system_clock::now())));
|
||||
timeLabel_->setText(
|
||||
QString::fromStdString(util::TimeString(util::time::now())));
|
||||
timeLabel_->setVisible(true);
|
||||
});
|
||||
clockTimer_.start(1000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue