1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

LP-03 About - Splash screen fixes

This commit is contained in:
Laurent Lalanne 2015-07-09 21:01:58 +02:00
parent a91679b50f
commit 4ae9bfe3f7
2 changed files with 7 additions and 2 deletions

View File

@ -41,11 +41,15 @@ GCSSplashScreen::GCSSplashScreen() :
m_painter->setPen(Qt::lightGray);
QFont font("Tahoma", 8);
m_painter->setFont(font);
m_painter->drawText(405, 170, QString(CopyrightSymbol) +
QString(" 2010-") + VersionInfo::year() +
QString(" ") + VersionInfo::year() +
QString(tr(" The LibrePilot Project - All Rights Reserved")));
m_painter->drawText(406, 173, 310, 100, Qt::TextWordWrap | Qt::AlignTop | Qt::AlignLeft,
m_painter->drawText(405, 180, QString(CopyrightSymbol) +
QString(tr(" 2010-2015 The OpenPilot Project - All Rights Reserved")));
m_painter->drawText(406, 183, 310, 100, Qt::TextWordWrap | Qt::AlignTop | Qt::AlignLeft,
QString(tr("GCS Revision - ")) + VersionInfo::revision());
setPixmap(*m_pixmap);
}

View File

@ -59,6 +59,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
"Based on Qt %6 (%7 bit)<br/>"
"<br/>"
"&copy; %8, %9. All rights reserved.<br/>"
"&copy; The OpenPilot Project 2010-2015. All rights reserved.<br/>"
).arg(
VersionInfo::revision().left(60), // %1
VersionInfo::uavoHash().left(8), // %2