don't fall back on QskAspect::Control, when resolving from the local

skin hint table
This commit is contained in:
Uwe Rathmann 2017-08-24 13:06:20 +02:00
parent 6a0c6aa6bd
commit 93f5552a4e
2 changed files with 3 additions and 4 deletions

View File

@ -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...

View File

@ -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()