Mercurial > hg > syntilista
changeset 197:f7da0c030262
Show AppDataPath as a link in the about window.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 09 Nov 2017 15:19:03 +0200 |
parents | 416868143486 |
children | 3c641d1e3baf |
files | src/main.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main.cpp Thu Nov 09 14:14:02 2017 +0200 +++ b/src/main.cpp Thu Nov 09 15:19:03 2017 +0200 @@ -1657,6 +1657,7 @@ ui->label_Logo->setPixmap(QPixmap(":/img/icon-64.png")); ui->label_Logo->setAlignment(Qt::AlignCenter); + ui->label_About->setOpenExternalLinks(true); ui->label_About->setWordWrap(true); ui->label_About->setTextFormat(Qt::RichText); ui->label_About->setText(tr( @@ -1674,7 +1675,7 @@ "Lue ohjelman mukana tullut tiedosto \"COPYING\" (tai \"COPYING.txt\") " "nähdäksesi täydelliset lisenssiehdot." "</p>" - "<p>AppDataPath: %3</p>" + "<p>AppDataPath: <a href=\"file:///%3\">%3</a></p>" ). arg(tr(APP_NAME)). arg(APP_VERSION).