mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 11:22:58 +00:00
remove unused and internal QWidgetPrivate::DrawWidgetFlags enums
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
0366784761
commit
bd25db9574
2 changed files with 2 additions and 6 deletions
|
@ -4874,12 +4874,10 @@ void QWidgetPrivate::paintSiblingsRecursive(QPaintDevice *pdev, const QObjectLis
|
||||||
QRect boundingRect;
|
QRect boundingRect;
|
||||||
bool dirtyBoundingRect = true;
|
bool dirtyBoundingRect = true;
|
||||||
const bool exludeOpaqueChildren = (flags & DontDrawOpaqueChildren);
|
const bool exludeOpaqueChildren = (flags & DontDrawOpaqueChildren);
|
||||||
const bool excludeNativeChildren = (flags & DontDrawNativeChildren);
|
|
||||||
|
|
||||||
do {
|
do {
|
||||||
QWidget *x = qobject_cast<QWidget*>(siblings.at(index));
|
QWidget *x = qobject_cast<QWidget*>(siblings.at(index));
|
||||||
if (x && !(exludeOpaqueChildren && x->d_func()->isOpaque) && !x->isHidden() && !x->isWindow()
|
if (x && !(exludeOpaqueChildren && x->d_func()->isOpaque) && !x->isHidden() && !x->isWindow()) {
|
||||||
&& !(excludeNativeChildren && x->internalWinId())) {
|
|
||||||
if (dirtyBoundingRect) {
|
if (dirtyBoundingRect) {
|
||||||
boundingRect = rgn.boundingRect();
|
boundingRect = rgn.boundingRect();
|
||||||
dirtyBoundingRect = false;
|
dirtyBoundingRect = false;
|
||||||
|
|
|
@ -242,9 +242,7 @@ public:
|
||||||
DrawRecursive = 0x04,
|
DrawRecursive = 0x04,
|
||||||
DrawInvisible = 0x08,
|
DrawInvisible = 0x08,
|
||||||
DontSubtractOpaqueChildren = 0x10,
|
DontSubtractOpaqueChildren = 0x10,
|
||||||
DontSetCompositionMode = 0x20,
|
DontDrawOpaqueChildren = 0x20
|
||||||
DontDrawOpaqueChildren = 0x40,
|
|
||||||
DontDrawNativeChildren = 0x80
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum CloseMode {
|
enum CloseMode {
|
||||||
|
|
Loading…
Add table
Reference in a new issue