Revert "OSX: obey the Qt::WindowTransparentForInput flag"
This reverts commit 79e729e111dd799ddbe281aaddfbc0e1ec0e7bc0, which partially fixed QTBUG-30122 and will need to be reopened. On the Creator side, we think using the Qt::ToolTip flag is a bit unsafe since tooltips are supposed to have very limited interactivity. We would like to propose to use a similar pattern as in QComboBox instead. Task-number: QTBUG-30702 Change-Id: I245b7d8b16ac870564ea44f24f481ebfec8ca9a1 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
This commit is contained in:
parent
1308aa25fb
commit
baa2822077
@ -450,8 +450,6 @@ void QCocoaWindow::setWindowFlags(Qt::WindowFlags flags)
|
||||
NSInteger level = this->windowLevel(flags);
|
||||
[m_nsWindow setStyleMask:styleMask];
|
||||
[m_nsWindow setLevel:level];
|
||||
[m_nsWindow setIgnoresMouseEvents:((flags & Qt::ToolTip) == Qt::ToolTip) ? YES : NO];
|
||||
// TODO deal with WindowTransparentForInput; setIgnoresMouseEvents is too extreme, you can't click the titlebar
|
||||
setWindowShadow(flags);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user