summaryrefslogtreecommitdiffstats
path: root/src/designer/src/components/formeditor/formwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/components/formeditor/formwindow.cpp')
-rw-r--r--src/designer/src/components/formeditor/formwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/components/formeditor/formwindow.cpp b/src/designer/src/components/formeditor/formwindow.cpp
index dda88489f..4d8c1a638 100644
--- a/src/designer/src/components/formeditor/formwindow.cpp
+++ b/src/designer/src/components/formeditor/formwindow.cpp
@@ -2711,7 +2711,7 @@ bool FormWindow::blockSelectionChanged(bool b)
void FormWindow::editContents()
{
const QWidgetList sel = selectedWidgets();
- if (sel.count() == 1) {
+ if (sel.size() == 1) {
QWidget *widget = sel.first();
if (QAction *a = preferredEditAction(core(), widget))