From cb21433dc84261ea501b917f36d40ef09f256218 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris <sideris.konstantin@gmail.com> Date: Sat, 23 Jun 2018 01:46:18 +0300 Subject: [PATCH] Allow copying the version info in the settings page --- README.md | 8 +++----- src/UserSettingsPage.cc | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 287073895..98d249a52 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ nheko ---- [](https://travis-ci.org/mujx/nheko) [](https://ci.appveyor.com/project/mujx/nheko/branch/master) -[](https://github.com/mujx/nheko/releases) +[](https://bintray.com/mujx/matrix/nheko/_latestVersion) +[](https://bintray.com/mujx/matrix/nheko/nightly) [](https://matrix.to/#/#nheko:matrix.org) [](https://aur.archlinux.org/packages/nheko) @@ -32,7 +33,7 @@ Specifically there is support for: ### Releases -You can find releases for Linux (AppImage), macOS (disk image) & Windows (x64 installer) on the [Bintray repo](https://bintray.com/mujx/matrix/nheko). +Releases for Linux (AppImage), macOS (disk image) & Windows (x64 installer) can be found on the [Bintray repo](https://bintray.com/mujx/matrix/nheko). ### Repositories @@ -85,9 +86,6 @@ If you don't want to install any external dependencies, you can generate an AppI make docker-app-image ``` -If you're on Debian you should use `make docker-debian-appimage` instead, which uses -Debian as the build host in an attempt to work around this [issue](https://github.com/AppImage/AppImageKit/wiki/Desktop-Linux-Platform-Issues#openssl). - ##### Arch Linux ```bash diff --git a/src/UserSettingsPage.cc b/src/UserSettingsPage.cc index 8bf775330..7354e413f 100644 --- a/src/UserSettingsPage.cc +++ b/src/UserSettingsPage.cc @@ -121,8 +121,8 @@ UserSettingsPage::UserSettingsPage(QSharedPointer<UserSettings> settings, QWidge auto heading_ = new QLabel(tr("User Settings")); heading_->setStyleSheet("font-weight: bold; font-size: 22px;"); - auto versionInfo = new QLabel( - QString("%1 | %2 | %3").arg(nheko::version).arg(nheko::build_user).arg(nheko::build_os)); + auto versionInfo = new QLabel(QString("%1 | %2").arg(nheko::version).arg(nheko::build_os)); + versionInfo->setTextInteractionFlags(Qt::TextBrowserInteraction); topBarLayout_ = new QHBoxLayout; topBarLayout_->setSpacing(0); -- GitLab