From: Manuel Nickschas Date: Mon, 4 Jun 2018 20:13:12 +0000 (+0200) Subject: qtui: Fix icons in the AboutDlg X-Git-Tag: travis-deploy-test~44 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=1299d8aee02b04d5ec723779d2e862248423e157;ds=sidebyside qtui: Fix icons in the AboutDlg With the icon reorganization, no aliases are created inside resource files anymore. Explicitly put the Breeze and Oxygen Quassel pixmaps for the AboutDlg into pics/ and add it to the :pics/ resource. Remove pics/quassel.png which was shipped, but not actually used due to it missing from the resource file. --- diff --git a/pics/pics.qrc b/pics/pics.qrc index da6473de..80bbbbb6 100644 --- a/pics/pics.qrc +++ b/pics/pics.qrc @@ -1,8 +1,10 @@ kde-vdg.png + quassel-64.svg quassel-eye.png quassel-logo.png + quassel-oxygen-32.png qt-logo.png qt-logo-32.png diff --git a/pics/quassel-64.svg b/pics/quassel-64.svg new file mode 100644 index 00000000..bd6666e3 --- /dev/null +++ b/pics/quassel-64.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pics/quassel-oxygen-32.png b/pics/quassel-oxygen-32.png new file mode 100644 index 00000000..0b215251 Binary files /dev/null and b/pics/quassel-oxygen-32.png differ diff --git a/pics/quassel.png b/pics/quassel.png deleted file mode 100644 index c6566e49..00000000 Binary files a/pics/quassel.png and /dev/null differ diff --git a/src/qtui/aboutdlg.cpp b/src/qtui/aboutdlg.cpp index 6b775b7f..02f2a6af 100644 --- a/src/qtui/aboutdlg.cpp +++ b/src/qtui/aboutdlg.cpp @@ -33,7 +33,7 @@ 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("Version: %1
Version date: %2
Protocol version: %3")) .arg(Quassel::buildInfo().fancyVersionString) @@ -101,9 +101,9 @@ QString AboutDlg::thanksTo() const "John \"nox\" Hand" "" + tr("for the original Quassel logo - The All-Seeing Eye") + "" "" - "" + "" "Nuno Pinheiro" - "" + tr("for the current Quassel logo") + "" + "" + tr("for the Oxygen Quassel logo") + "" "" "" "The KDE Visual Design Group"