| Summary: | KWrite does not sport its icon. | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Baltasar <baltasarq> |
| Component: | kwrite | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | christoph, rjvbertin |
| Priority: | NOR | ||
| Version First Reported In: | 16.04 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Baltasar
2016-06-27 10:53:25 UTC
This seems to be fixed in 16.08. FWIW, the correct cross-platform way of getting the icon to show up in task switchers, Docks etc. is something along the lines of
app.setWindowIcon(QIcon::fromTheme("appIconName", app.windowIcon()));
this avoids replacing the application icon (resource) installed in or with the application with an empty icon; as a general rule of thumb one can say that platforms either store the app icon resource with the app (OS X, MS Windows) or else they use an icon from a user-selectable icon theme from some central location.
|