projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3619c20
)
skin: masking for non-alpha channel image format
author
GiWoong Kim
<giwoong.kim@samsung.com>
Mon, 2 Nov 2015 05:31:24 +0000
(14:31 +0900)
committer
GiWoong Kim
<giwoong.kim@samsung.com>
Mon, 9 Nov 2015 05:05:53 +0000
(14:05 +0900)
Removes any mask set on main window when emulator uses
a non-alpha channel image as a skin.
Change-Id: I64293c35f07a36fb3bbbff140a06412f09b6084c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
tizen/src/ui/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/tizen/src/ui/mainwindow.cpp
b/tizen/src/ui/mainwindow.cpp
index b638916eb854320b8ee6d64f2fd8485a7a995cb6..9708d200565b100b47f564e4e704347df0a62aa0 100644
(file)
--- a/
tizen/src/ui/mainwindow.cpp
+++ b/
tizen/src/ui/mainwindow.cpp
@@
-396,6
+396,9
@@
void MainWindow::setMask(const QRegion ®ion)
{
if (region.isEmpty() == false) {
QWidget::setMask(region);
+ } else if (mask().isEmpty() == false) {
+ qDebug("removes any mask set");
+ clearMask();
}
}