Explicitly set logo for about page to logo.sv resource file

This commit is contained in:
Bart De Vries 2021-06-08 15:06:46 +02:00
parent 0b8c1856c9
commit 6d57a0586b

View File

@ -7,13 +7,14 @@
#include <QCommandLineOption>
#include <QCommandLineParser>
#include <QIcon>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <QQuickStyle>
#include <QQuickView>
#include <QString>
#include <QStringList>
#include <QVariant>
#ifdef Q_OS_ANDROID
#include <QGuiApplication>
@ -91,6 +92,7 @@ int main(int argc, char *argv[])
i18n("© 2020-2021 KDE Community"));
about.addAuthor(i18n("Tobias Fella"), QString(), QStringLiteral("fella@posteo.de"));
about.addAuthor(i18n("Bart De Vries"), QString(), QStringLiteral("bart@mogwai.be"));
about.setProgramLogo(QVariant(QIcon(QStringLiteral(":/logo.svg"))));
KAboutData::setApplicationData(about);
about.setupCommandLine(&parser);