[DesktopView] Don't set a window icon

The desktop view isn't visible in the task bar, tabbox, and neither does it have a window decoration.

Differential Revision: https://phabricator.kde.org/D18430
wilder-broken-krunner
Kai Uwe Broulik 7 years ago
parent ad1a76b800
commit 60d56d8803
  1. 1
      shell/desktopview.cpp

@ -50,7 +50,6 @@ DesktopView::DesktopView(Plasma::Corona *corona, QScreen *targetScreen)
setFlags(Qt::Window | Qt::FramelessWindowHint);
setTitle(corona->kPackage().metadata().name());
setIcon(QIcon::fromTheme(corona->kPackage().metadata().iconName()));
rootContext()->setContextProperty(QStringLiteral("desktop"), this);
setSource(corona->kPackage().fileUrl("views", QStringLiteral("Desktop.qml")));

Loading…
Cancel
Save