From 93df859aa46830aef59ceaae6c0106144e91b1d4 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 12 Jun 2024 17:31:17 +0200 Subject: [PATCH] About: Replace QLatin1String with QStringLiteral --- src/dialogs/about.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dialogs/about.cpp b/src/dialogs/about.cpp index ad3a3cdc3..8363934ba 100644 --- a/src/dialogs/about.cpp +++ b/src/dialogs/about.cpp @@ -114,17 +114,17 @@ QString About::MainHtml() const { ret += QLatin1String("

"); ret += QLatin1String("

"); - ret += tr("Strawberry is free software released under GPL. The source code is available on %1").arg(QLatin1String("GitHub.").arg(palette().text().color().name())); + ret += tr("Strawberry is free software released under GPL. The source code is available on %1").arg(QStringLiteral("GitHub.").arg(palette().text().color().name())); ret += QLatin1String("
"); - ret += tr("You should have received a copy of the GNU General Public License along with this program. If not, see %1").arg(QLatin1String("http://www.gnu.org/licenses/").arg(palette().text().color().name())); + ret += tr("You should have received a copy of the GNU General Public License along with this program. If not, see %1").arg(QStringLiteral("http://www.gnu.org/licenses/").arg(palette().text().color().name())); ret += QLatin1String("

"); ret += QLatin1String("

"); ret += tr("If you like Strawberry and can make use of it, consider sponsoring or donating."); ret += QLatin1String("
"); ret += tr("You can sponsor the author on %1. You can also make a one-time payment through %2.").arg( - QLatin1String("GitHub sponsors").arg(palette().text().color().name()), - QLatin1String("paypal.me/jonaskvinge").arg(palette().text().color().name()) + QStringLiteral("GitHub sponsors").arg(palette().text().color().name()), + QStringLiteral("paypal.me/jonaskvinge").arg(palette().text().color().name()) ); ret += QLatin1String("

");