Skip to content
Permalink
Browse files

add revision to AboutDialog.(refs #62)

  • Loading branch information...
haraki committed Jun 30, 2019
1 parent d85cd1d commit cbbe3bbff9391d31dc65e2929174d4abc8324c5f
Showing with 5 additions and 2 deletions.
  1. +2 −2 aboutdialog.cpp
  2. +3 −0 farman.pro
@@ -26,8 +26,8 @@ AboutDialog::AboutDialog(QWidget *parent) :
#endif
+ "</p>");

ui->appDescriptionLabel->setText(tr("<p>Based on Qt %1 ").arg(qVersion())
+ tr("(%1)").arg(getCompilerVersion())
ui->appDescriptionLabel->setText(tr("<p>Based on Qt %1 (%2)</p>").arg(qVersion()).arg(getCompilerVersion())
+ tr("<p>Revision : %1</p>").arg(APP_REVISION)
+ tr("<p>Copyright 2019 %1 All right reserved.</p>").arg(qApp->organizationName()));
}

@@ -17,7 +17,10 @@ QMAKE_TARGET_PRODUCT = farman
QMAKE_TARGET_DESCRIPTION = 'farman' is Dual pane File manager.
QMAKE_TARGET_COPYRIGHT = Copyright 2019 MASHSOFT. All right reserved.

REVISION = $$system(git rev-parse HEAD)

DEFINES += APP_VERSION=\\\"$$VERSION\\\"
DEFINES += APP_REVISION=\\\"$$REVISION\\\"

INCLUDEPATH += ./QHexView/include

0 comments on commit cbbe3bb

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