Set breeze as fallback icon theme for all executables
This commit is contained in:
parent
e641aa5596
commit
c9bdf625c0
4 changed files with 8 additions and 0 deletions
|
@ -20,6 +20,8 @@
|
|||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
QIcon::setFallbackThemeName(QStringLiteral("breeze"));
|
||||
|
||||
QApplication app(argc, argv);
|
||||
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kdeconnect")));
|
||||
KAboutData aboutData(QStringLiteral("kdeconnect.app"), i18n("KDE Connect"), QStringLiteral("1.0"), i18n("KDE Connect"), KAboutLicense::GPL, i18n("(c) 2015, Aleix Pol Gonzalez"));
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
QIcon::setFallbackThemeName(QStringLiteral("breeze"));
|
||||
|
||||
QApplication app(argc, argv);
|
||||
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
|
||||
KAboutData about(QStringLiteral("kdeconnect-indicator"),
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
QIcon::setFallbackThemeName(QStringLiteral("breeze"));
|
||||
|
||||
QApplication app(argc, argv);
|
||||
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kdeconnect")));
|
||||
KAboutData about(QStringLiteral("kdeconnect-settings"),
|
||||
|
|
|
@ -26,6 +26,8 @@
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QIcon::setFallbackThemeName(QStringLiteral("breeze"));
|
||||
|
||||
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
QApplication app(argc, argv);
|
||||
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kdeconnect")));
|
||||
|
|
Loading…
Reference in a new issue