diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2018-04-13 14:30:09 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2018-04-16 09:35:03 +0000 |
commit | dd231fa7547b78d319b67e8266b447da4d010433 (patch) | |
tree | e9a60a12c93ab6762f05e78d9c60667ef128315a /src/plugins/clangcodemodel/clangcodemodelplugin.cpp | |
parent | a1e33602363a8f94746a249b97731e5bfaa51b84 (diff) | |
download | qt-creator-dd231fa7547b78d319b67e8266b447da4d010433.tar.gz |
ProjectExplorer: Make Task accept a QIcon
...instead of a FileName.
If requiring a file name, one has to use Utils::Icon::imageFileName(),
which is discouraged according to the comment there. I've tried that and
ended up with a black/white icon. With Utils::Icon::icon() the icon
retains its color.
Change-Id: Id84f514f7408f4b24b74d68b4e9096ceaa0851dd
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/clangcodemodel/clangcodemodelplugin.cpp')
0 files changed, 0 insertions, 0 deletions