don't fall back on QskAspect::Control, when resolving from the local
skin hint table
This commit is contained in:
parent
6a0c6aa6bd
commit
93f5552a4e
@ -102,10 +102,9 @@ static inline const QVariant& qskResolvedHint( QskAspect::Aspect aspect,
|
||||
|
||||
if ( aspect.subControl() != QskAspect::Control )
|
||||
{
|
||||
// fall back from subcontrol to control
|
||||
|
||||
// trying to resolve from the skin default settings
|
||||
aspect.setSubControl( QskAspect::Control );
|
||||
return qskResolvedHint( aspect, controlHints, skinHints, status );
|
||||
return qskResolvedHint( aspect, nullptr, skinHints, status );
|
||||
}
|
||||
|
||||
// Nothing left to try...
|
||||
|
@ -233,7 +233,7 @@ bool QskSubWindowArea::mouseEventFilter( QskSubWindow* window, const QMouseEvent
|
||||
#if 0
|
||||
// how to handle not to be process visual
|
||||
// changes for double click events ???
|
||||
if ( window->titleBarRect().contains( event->localPos() )
|
||||
if ( window->titleBarRect().contains( event->localPos() ) )
|
||||
{
|
||||
// block button press until we know it is no double click
|
||||
///QGuiApplication::styleHints()->mouseDoubleClickInterval()
|
||||
|
Loading…
x
Reference in New Issue
Block a user