From cb21433dc84261ea501b917f36d40ef09f256218 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris 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 28707389..98d249a5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ nheko ---- [![Build Status](https://travis-ci.org/mujx/nheko.svg?branch=master)](https://travis-ci.org/mujx/nheko) [![Build status](https://ci.appveyor.com/api/projects/status/07qrqbfylsg4hw2h/branch/master?svg=true)](https://ci.appveyor.com/project/mujx/nheko/branch/master) -[![Latest Release](https://img.shields.io/github/release/mujx/nheko.svg)](https://github.com/mujx/nheko/releases) +[![Latest Stable Version](https://img.shields.io/badge/download-stable-green.svg)](https://bintray.com/mujx/matrix/nheko/_latestVersion) +[![Nightly](https://img.shields.io/badge/download-nightly-green.svg)](https://bintray.com/mujx/matrix/nheko/nightly) [![Chat on Matrix](https://img.shields.io/badge/chat-on%20matrix-blue.svg)](https://matrix.to/#/#nheko:matrix.org) [![AUR: nheko](https://img.shields.io/badge/AUR-nheko-blue.svg)](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 8bf77533..7354e413 100644 --- a/src/UserSettingsPage.cc +++ b/src/UserSettingsPage.cc @@ -121,8 +121,8 @@ UserSettingsPage::UserSettingsPage(QSharedPointer 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);