From: Manuel Nickschas Date: Thu, 15 Jan 2009 23:04:20 +0000 (+0100) Subject: Properly display core build date, fixes #473 X-Git-Tag: 0.4.0~213 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=1e8b12a9f3d31e284843e6c1a70a361911b2cb41 Properly display core build date, fixes #473 Will probably see how to get a localized string into that at some point; using __TIME__ and __DATE__ is quite hacky, and since we run genversion anyway, we can as well have it provide a real timestamp instead. --- diff --git a/src/qtui/coreinfodlg.cpp b/src/qtui/coreinfodlg.cpp index bc087588..1d441a0a 100644 --- a/src/qtui/coreinfodlg.cpp +++ b/src/qtui/coreinfodlg.cpp @@ -36,7 +36,7 @@ CoreInfoDlg::CoreInfoDlg(QWidget *parent) void CoreInfoDlg::coreInfoAvailable() { ui.labelCoreVersion->setText(_coreInfo["quasselVersion"].toString()); - ui.labelCoreBuildDate->setText(QDateTime::fromTime_t(_coreInfo["quasselBuildDate"].toUInt()).toLocalTime().toString()); + ui.labelCoreBuildDate->setText(_coreInfo["quasselBuildDate"].toString()); ui.labelClientCount->setNum(_coreInfo["sessionConnectedClients"].toInt()); updateUptime(); startTimer(1000);