Commit 2d3e027a authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Use URLs with transport encryption

parent f20ed247
......@@ -44,7 +44,7 @@ int main(int argc, char **argv)
about.setLicense(KAboutLicense::GPL_V2);
about.setCopyrightStatement(i18n("© 2006-2009, Parker Coates"));
about.addAuthor(i18n("Parker Coates"), i18n("Developer"), QStringLiteral("coates@kde.org"));
about.addCredit(i18n("Mark Rae"), i18n("Author of Gnome Robots. Invented safe teleports, pushing junkheaps and fast robots."), QLatin1String(""), QStringLiteral("http://live.gnome.org/Robots"));
about.addCredit(i18n("Mark Rae"), i18n("Author of Gnome Robots. Invented safe teleports, pushing junkheaps and fast robots."), QLatin1String(""), QStringLiteral("https://wiki.gnome.org/Apps/Robots"));
about.setHomepage(QStringLiteral("https://www.kde.org/applications/games/killbots/"));
QCommandLineParser parser;
......
......@@ -154,7 +154,7 @@ void Killbots::RulesetSelector::selectionChanged(const QString &rulesetName)
} else if (ruleset->authorContact().contains(QLatin1Char('@'))) {
m_authorContact->setText(QStringLiteral("<qt><a href=\"mailto:%1\">%1</a></qt>").arg(ruleset->authorContact()));
} else if (ruleset->authorContact().contains(QLatin1Char('.'))) {
m_authorContact->setText(QStringLiteral("<qt><a href=\"http://%1\">%1</a></qt>").arg(ruleset->authorContact()));
m_authorContact->setText(QStringLiteral("<qt><a href=\"https://%1\">%1</a></qt>").arg(ruleset->authorContact()));
} else {
m_authorContact->setText(ruleset->authorContact());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment