mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +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;
|
||||
bool dirtyBoundingRect = true;
|
||||
const bool exludeOpaqueChildren = (flags & DontDrawOpaqueChildren);
|
||||
const bool excludeNativeChildren = (flags & DontDrawNativeChildren);
|
||||
|
||||
do {
|
||||
QWidget *x = qobject_cast<QWidget*>(siblings.at(index));
|
||||
if (x && !(exludeOpaqueChildren && x->d_func()->isOpaque) && !x->isHidden() && !x->isWindow()
|
||||
&& !(excludeNativeChildren && x->internalWinId())) {
|
||||
if (x && !(exludeOpaqueChildren && x->d_func()->isOpaque) && !x->isHidden() && !x->isWindow()) {
|
||||
if (dirtyBoundingRect) {
|
||||
boundingRect = rgn.boundingRect();
|
||||
dirtyBoundingRect = false;
|
||||
|
|
|
@ -242,9 +242,7 @@ public:
|
|||
DrawRecursive = 0x04,
|
||||
DrawInvisible = 0x08,
|
||||
DontSubtractOpaqueChildren = 0x10,
|
||||
DontSetCompositionMode = 0x20,
|
||||
DontDrawOpaqueChildren = 0x40,
|
||||
DontDrawNativeChildren = 0x80
|
||||
DontDrawOpaqueChildren = 0x20
|
||||
};
|
||||
|
||||
enum CloseMode {
|
||||
|
|
Loading…
Add table
Reference in a new issue