/***************************************************************************
- * Copyright (C) 2005-2016 by the Quassel Project *
+ * Copyright (C) 2005-2018 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#include "aboutdlg.h"
#include <QDateTime>
-#include <QIcon>
+#include <QPixmap>
#include "aboutdata.h"
+#include "icon.h"
#include "quassel.h"
AboutDlg::AboutDlg(QWidget *parent)
AboutData::setQuasselPersons(_aboutData);
ui.setupUi(this);
- ui.quasselLogo->setPixmap(QIcon(":/icons/quassel-64.png").pixmap(64)); // don't let the icon theme affect our logo here
+ ui.quasselLogo->setPixmap(QPixmap{":/pics/quassel-64.svg"}); // don't let the icon theme affect our logo here
ui.versionLabel->setText(QString(tr("<b>Version:</b> %1<br><b>Version date:</b> %2<br><b>Protocol version:</b> %3"))
.arg(Quassel::buildInfo().fancyVersionString)
ui.contributorTextBrowser->setHtml(contributors());
ui.thanksToTextBrowser->setHtml(thanksTo());
- setWindowIcon(QIcon::fromTheme("quassel", QIcon(":/icons/quassel.png")));
+ setWindowIcon(icon::get("quassel"));
}
{
QString res {tr("<b>A modern, distributed IRC Client</b><br><br>"
"©%1 by the Quassel Project<br>"
- "<a href=\"http://quassel-irc.org\">http://quassel-irc.org</a><br>"
- "<a href=\"irc://irc.freenode.net/quassel\">#quassel</a> on <a href=\"http://www.freenode.net\">Freenode</a><br><br>"
- "Quassel IRC is dual-licensed under <a href=\"http://www.gnu.org/licenses/gpl-2.0.txt\">GPLv2</a> and "
- "<a href=\"http://www.gnu.org/licenses/gpl-3.0.txt\">GPLv3</a>.<br>"
+ "<a href=\"https://quassel-irc.org\">https://quassel-irc.org</a><br>"
+ "<a href=\"irc://irc.freenode.net/quassel\">#quassel</a> on <a href=\"https://www.freenode.net\">Freenode</a><br><br>"
+ "Quassel IRC is dual-licensed under <a href=\"https://www.gnu.org/licenses/gpl-2.0.txt\">GPLv2</a> and "
+ "<a href=\"https://www.gnu.org/licenses/gpl-3.0.txt\">GPLv3</a>.<br>"
"<a href=\"https://api.kde.org/frameworks/breeze-icons/html\">Breeze icon theme</a> © Uri Herrera and others, licensed under the "
"<a href=\"https://github.com/KDE/breeze-icons/blob/21ffd9b/COPYING-ICONS\">LGPLv3</a>.<br>"
"<a href=\"https://api.kde.org/frameworks/oxygen-icons5/html\">Oxygen icon theme</a> © Nuno Pinheiro and others, licensed under the "
"<a href=\"https://github.com/KDE/oxygen-icons/blob/master/COPYING\">LGPLv3</a>.<br><br>"
- "Please use <a href=\"http://bugs.quassel-irc.org\">http://bugs.quassel-irc.org</a> to report bugs."
- ).arg("2005-2016")
+ "Please use <a href=\"https://bugs.quassel-irc.org\">https://bugs.quassel-irc.org</a> to report bugs."
+ ).arg("2005-2018")
};
return res;
"<td><b>John \"nox\" Hand</b></td></tr>"
"<tr><td><i>" + tr("for the original Quassel logo - The All-Seeing Eye") + "</i></td></tr>"
"<tr/>"
- "<tr><td rowspan='2' valign='middle'><img src=':/icons/quassel-32.png'></td>"
+ "<tr><td rowspan='2' valign='middle'><img src=':/pics/quassel-oxygen-32.png'></td>"
"<td><b>Nuno Pinheiro</b></td></tr>"
- "<tr><td><i>" + tr("for the current Quassel logo") + "</i></td></tr>"
+ "<tr><td><i>" + tr("for the Oxygen Quassel logo") + "</i></td></tr>"
"<tr/>"
"<tr><td rowspan='2' valign='middle'><img src=':/pics/kde-vdg.png'></td>"
"<td><b><a href='https://vdesign.kde.org'>The KDE Visual Design Group</a></b></td></tr>"