summaryrefslogtreecommitdiffstats
path: root/src/designer/src/components/formeditor/formwindowmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/components/formeditor/formwindowmanager.cpp')
-rw-r--r--src/designer/src/components/formeditor/formwindowmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/components/formeditor/formwindowmanager.cpp b/src/designer/src/components/formeditor/formwindowmanager.cpp
index 457d15638..8761849d6 100644
--- a/src/designer/src/components/formeditor/formwindowmanager.cpp
+++ b/src/designer/src/components/formeditor/formwindowmanager.cpp
@@ -816,7 +816,7 @@ static inline bool hasManagedLayoutItems(const QDesignerFormEditorInterface *cor
{
if (const QLayout *ml = LayoutInfo::managedLayout(core, w)) {
// Try to find managed items, ignore dummy grid spacers
- const int count = ml->count();
+ const int count = ml->count();
for (int i = 0; i < count; i++)
if (!LayoutInfo::isEmptyItem(ml->itemAt(i)))
return true;