Use QIcon::fromTheme
Details
Details
- Reviewers
vkrause - Group Reviewers
Gwenview - Maniphest Tasks
- T11654: Deprecate SmallIcon/DesktopIcon/BarIcon/UserIcon/MainBarIcon and KDE::icon in favor of KIconLoader or QIcon API
- Commits
- R260:a6538c45ba7f: Port away from deprecated DesktopIcon
Still get the stopwatch icon as thumbnail when thumbnail is loaded
Diff Detail
Diff Detail
- Repository
- R260 Gwenview
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
lib/thumbnailview/thumbnailview.cpp | ||
---|---|---|
390 | btw, QIcon::pixmap exists in a single argument variant as well, so you don't have to repeat the size in the common case of a square icon :) |