From 2075ba22f3c8abb19fdc53b87d2a8daaf7744e16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Anthony=20L=C3=A9onard?=
 <anthony.leonard@savoirfairelinux.com>
Date: Wed, 21 Jun 2017 14:18:18 -0400
Subject: [PATCH] remove mention "Ring v2.0" in about dialog

This mention was supposed to be the client version which is not
related to daemon or lrc version. It was misleading as this wasn't
clearly indicated.

Moreover, indicating a non-zero major number is not correct as Ring is
not considered to be stable yet.

Change-Id: I6ed590950c13b9835ecf66706d9e5777a0b715d2
Reviewed-by: Philippe Gorley <philippe.gorley@savoirfairelinux.com>
---
 aboutdialog.cpp |  3 ---
 aboutdialog.ui  | 13 -------------
 2 files changed, 16 deletions(-)

diff --git a/aboutdialog.cpp b/aboutdialog.cpp
index 3e69bf8..ee23a6a 100644
--- a/aboutdialog.cpp
+++ b/aboutdialog.cpp
@@ -27,9 +27,6 @@ AboutDialog::AboutDialog(QWidget *parent) :
 
     this->setFixedSize(this->width(),this->height());
     ui->creditsWidget->hide();
-    ui->clientVersionLabel->setText(
-        QString("<html><head/><body><p><span style=\" font-weight:600;\">"
-                "%1 v%2</span></p></body></html>").arg(tr("Ring"), VERSION));
     ui->gitVersionLabel->setText(QString("%1: %2").arg(tr("version"), RING_CLIENT_BUILD_DATE));
 
     ui->creditsBrowser->setHtml("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">"
diff --git a/aboutdialog.ui b/aboutdialog.ui
index 343fbe1..dd04675 100644
--- a/aboutdialog.ui
+++ b/aboutdialog.ui
@@ -525,19 +525,6 @@
       <property name="bottomMargin">
        <number>0</number>
       </property>
-      <item alignment="Qt::AlignHCenter">
-       <widget class="QLabel" name="clientVersionLabel">
-        <property name="text">
-         <string notr="true">Windows Ring v</string>
-        </property>
-        <property name="textFormat">
-         <enum>Qt::AutoText</enum>
-        </property>
-        <property name="margin">
-         <number>15</number>
-        </property>
-       </widget>
-      </item>
       <item alignment="Qt::AlignHCenter">
        <widget class="QLabel" name="gitVersionLabel">
         <property name="text">
-- 
GitLab