wrong insertion of the input grabber fixed

This commit is contained in:
Uwe Rathmann 2018-06-26 11:55:57 +02:00
parent 47962506e9
commit d98302a722
1 changed files with 1 additions and 1 deletions

View File

@ -251,9 +251,9 @@ void QskPopup::updateInputGrabber()
{ {
if ( m_data->inputGrabber == nullptr ) if ( m_data->inputGrabber == nullptr )
{ {
const auto children = childItems();
m_data->inputGrabber = new InputGrabber( this ); m_data->inputGrabber = new InputGrabber( this );
const auto children = childItems();
if ( !children.isEmpty() ) if ( !children.isEmpty() )
{ {
/* /*