From 646e670ee464dc72fe532736b93cde6dd686b537 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Tue, 5 Feb 2019 15:08:21 +0100 Subject: [PATCH] QskLayout::isEmpty fixed --- src/layouts/QskLayout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/QskLayout.h b/src/layouts/QskLayout.h index e66bd500..7f2b60c3 100644 --- a/src/layouts/QskLayout.h +++ b/src/layouts/QskLayout.h @@ -70,7 +70,7 @@ class QSK_EXPORT QskLayout : public QskControl inline bool QskLayout::isEmpty() const { - return itemCount() > 0; + return itemCount() <= 0; } inline void QskLayout::removeItem( const QQuickItem* item )