From 8036bad819b42ea39659dcb9a2ea65388522da85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Silvia=20Gonz=C3=A1lez=20Rodr=C3=ADguez?=
Date: Mon, 3 Feb 2025 18:50:28 +0000
Subject: [PATCH] Miscellaneous fixes around About dialog
---
.gitignore | 3 +++
resources/text/get_contributors.py | 5 +++--
src/aboutdialog.cpp | 4 ++--
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index f9ae6178..6ad0ffa6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,6 +13,9 @@ moc_*
ui_*
qrc_*
+# Contributors list
+gen_contributors.html
+
# Executables & libraries
Ripes
RipesTest
diff --git a/resources/text/get_contributors.py b/resources/text/get_contributors.py
index 433704b8..53a75637 100644
--- a/resources/text/get_contributors.py
+++ b/resources/text/get_contributors.py
@@ -6,9 +6,10 @@
lines = git_output.stdout.splitlines()
names = [line.partition("\t")[-1] for line in lines]
-text = ""
+text = ''
for name in names:
- text = text + '
' + name + "
\n"
+ text = text + name + "
\n"
+text = text + "
"
file = open("gen_contributors.html", "w")
file.write(text)
diff --git a/src/aboutdialog.cpp b/src/aboutdialog.cpp
index 79d7dfce..63db3630 100644
--- a/src/aboutdialog.cpp
+++ b/src/aboutdialog.cpp
@@ -12,8 +12,8 @@ AboutDialog::AboutDialog(QWidget *parent)
const QString url = "https://github.com/mortbopet/Ripes";
QString info = QString();
- info.append("" + name + "
" + getRipesVersion());
- info.append("
" + url + "");
+ info.append("" + name + "
" + getRipesVersion() + "
");
+ info.append("" + url + "
");
m_ui->setupUi(this);
m_ui->infoLabel->setText(info);