summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qicon_p.h
diff options
context:
space:
mode:
authorJames Turner <james.turner@kdab.com>2015-06-24 10:17:04 +0100
committerJames Turner <james.turner@kdab.com>2015-07-09 10:53:17 +0000
commit130c2baa9376dcf525916620294bd9996bdf41f3 (patch)
tree8933d343ad45d17400aafd1d6533a94a6594e1d0 /src/gui/image/qicon_p.h
parentbd4ff0b552d5c31eaf35d67208d003b132a4ffba (diff)
Add ability for QIcons to be marked as template images.
This allows end users to create QSystemTrayIcons that are properly displayed as monochrome images on OS X, which is especially important on Yosemite and above when Dark Mode is turned on. [ChangeLog][QtGui][QIcon] Add ability for QIcons to be marked as template images. This allows end users to create QSystemTrayIcons that are properly displayed as monochrome images on OS X, which is especially important on Yosemite and above when Dark Mode is turned on. Task-number: QTBUG-42109 Change-Id: I095fb71355ffa572d0abb4769341f68b89b877c4 Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Diffstat (limited to 'src/gui/image/qicon_p.h')
-rw-r--r--src/gui/image/qicon_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/image/qicon_p.h b/src/gui/image/qicon_p.h
index 8b42e770fa..2a4f584a0d 100644
--- a/src/gui/image/qicon_p.h
+++ b/src/gui/image/qicon_p.h
@@ -71,6 +71,7 @@ public:
QAtomicInt ref;
int serialNum;
int detach_no;
+ bool is_mask;
};