mirror of https://github.com/debauchee/barrier.git
Merge fix for #5329
This commit is contained in:
commit
d99bd8e031
|
@ -32,7 +32,9 @@ AboutDialog::AboutDialog(QWidget* parent, const QString& synergyApp) :
|
||||||
version = version + '-' + VERSION_STAGE + '-' + VERSION_REVISION;
|
version = version + '-' + VERSION_STAGE + '-' + VERSION_REVISION;
|
||||||
m_pLabelSynergyVersion->setText(version);
|
m_pLabelSynergyVersion->setText(version);
|
||||||
|
|
||||||
m_pLabelBuildDate->setText(QDate::currentDate().toString());
|
QString buildDateString = QString::fromLocal8Bit(__DATE__).simplified();
|
||||||
|
QDate buildDate = QLocale("en_US").toDate(buildDateString, "MMM d yyyy");
|
||||||
|
m_pLabelBuildDate->setText(buildDate.toString(Qt::SystemLocaleLongDate));
|
||||||
|
|
||||||
// change default size based on os
|
// change default size based on os
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
|
|
Loading…
Reference in New Issue