diff options
Diffstat (limited to 'src/designer/src/components/formeditor/formwindowcursor.cpp')
-rw-r--r-- | src/designer/src/components/formeditor/formwindowcursor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/designer/src/components/formeditor/formwindowcursor.cpp b/src/designer/src/components/formeditor/formwindowcursor.cpp index 294373fe3..85665a9a1 100644 --- a/src/designer/src/components/formeditor/formwindowcursor.cpp +++ b/src/designer/src/components/formeditor/formwindowcursor.cpp @@ -169,12 +169,12 @@ void FormWindowCursor::setProperty(const QString &name, const QVariant &value) // build selection const int N = selectedWidgetCount(); Q_ASSERT(N); - + SetPropertyCommand::ObjectList selection; - for (int i=0; i<N; ++i) + for (int i=0; i<N; ++i) selection.push_back(selectedWidget(i)); - + SetPropertyCommand* setPropertyCommand = new SetPropertyCommand(m_formWindow); if (setPropertyCommand->init(selection, name, value, current())) { m_formWindow->commandHistory()->push(setPropertyCommand); |