// KDE Frameworks headers.
#include <KAboutData>
#include <KCrash>
+#include <KLocalizedString>
#include <KDBusService>
// Qt headers.
+#include <QApplication>
#include <QCommandLineParser>
#include <QFile>
// Initialize KCrash.
KCrash::initialize();
- // Instantiate about data.
+ // Instantiate about data, setting the component name, the display name, and the version.
KAboutData aboutData(QStringLiteral("privacybrowser"), i18n("Privacy Browser"), QStringLiteral("0.1"));
- // Add the author information.
+ // Add the author name, job description, email address, and website.
aboutData.addAuthor(i18n("Soren Stoutner"),i18n("Principal developer"), QStringLiteral("soren@stoutner.com"), QStringLiteral("https://www.stoutner.com/"));
// Populate additional about data info.
KAboutData::setApplicationData(aboutData);
// Set the window icon.
- application.setWindowIcon(QIcon::fromTheme(QStringLiteral("privacybrowser"), QIcon(":/icons/privacy_browser.svg")));
+ application.setWindowIcon(QIcon::fromTheme(QStringLiteral("privacy-browser"), QIcon(":/icons/sc-apps-privacy-browser.svg")));
// Create a command line parser.
QCommandLineParser commandLineParser;