diff --git a/README.md b/README.md index ee7c229bc..193286490 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Gittyup Status](https://github.com/Murmele/Gittyup/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/Murmele/Gittyup/actions/workflows/build.yml) +[![Matrix](https://img.shields.io/matrix/Gittyup:matrix.org?label=Matrix%20Chat)](https://matrix.to/#/#Gittyup:matrix.org) [![Donate Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/Gittyup/donate) Gittyup diff --git a/src/dialogs/AboutDialog.cpp b/src/dialogs/AboutDialog.cpp index 54add4992..af3868b35 100644 --- a/src/dialogs/AboutDialog.cpp +++ b/src/dialogs/AboutDialog.cpp @@ -36,6 +36,8 @@ const QString kIssueTracker = const QString kUrl = "https://stackoverflow.com/questions/tagged/gittyup?sort=frequent"; +const QString kUrlMatrix = "https://matrix.to/#/#Gittyup:matrix.org"; + const QString kSubtitleFmt = "

%2

"; const QString kTextFmt = @@ -45,7 +47,7 @@ const QString kTextFmt = "contributors

If you have a question that might benefit the " "community, consider asking it on Stack Overflow by " "including 'gittyup' in the tags. Otherwise, contact us at " - "%6"; + "%6 or ask in the matrix channel: %7"; const QString kStyleSheet = "h3 {" " text-decoration: underline" @@ -86,8 +88,8 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent) { QDateTime dateTime = QDateTime::fromString(GITTYUP_BUILD_DATE, Qt::ISODate); QString date = dateTime.date().toString(QLocale().dateFormat(QLocale::LongFormat)); - QString text = - kTextFmt.arg(name, version, date, revision, kUrl, kIssueTracker); + QString text = kTextFmt.arg(name, version, date, revision, kUrl, + kIssueTracker, kUrlMatrix); QLabel *label = new QLabel(text, this); label->setWordWrap(true); label->setTextInteractionFlags(kTextFlags);