Skip to content
Permalink
Browse files

add "Debug Build".(refs #62)

  • Loading branch information...
haraki committed Jun 28, 2019
1 parent bfacfc7 commit bf7357aa734d15208e70bd5c86273d18d7e8480a
Showing with 6 additions and 2 deletions.
  1. +6 −2 aboutdialog.cpp
@@ -18,9 +18,13 @@ AboutDialog::AboutDialog(QWidget *parent) :
{
ui->setupUi(this);

ui->appNameLabel->setText(tr("<p><font size = '+4'>%1<font size = '+1'> Version %2</font></font></p>")
ui->appNameLabel->setText(tr("<p><font size = '+4'>%1</font><font size = '+1'> Version %2</font>")
.arg(qApp->applicationName())
.arg(qApp->applicationVersion()));
.arg(qApp->applicationVersion())
#ifdef QT_DEBUG
+ " (Debug Build)"
#endif
+ "</p>");

ui->appDescriptionLabel->setText(tr("<p>Based on Qt %1 ").arg(qVersion())
+ tr("(%1)").arg(getCompilerVersion())

0 comments on commit bf7357a

Please sign in to comment.
You can’t perform that action at this time.