summaryrefslogtreecommitdiff
path: root/src/designer/src/lib/shared/qdesigner_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/lib/shared/qdesigner_command.cpp')
-rw-r--r--src/designer/src/lib/shared/qdesigner_command.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/designer/src/lib/shared/qdesigner_command.cpp b/src/designer/src/lib/shared/qdesigner_command.cpp
index ed8bde3de..7346b98f3 100644
--- a/src/designer/src/lib/shared/qdesigner_command.cpp
+++ b/src/designer/src/lib/shared/qdesigner_command.cpp
@@ -232,7 +232,7 @@ void InsertWidgetCommand::undo()
void InsertWidgetCommand::refreshBuddyLabels()
{
- typedef QList<QLabel*> LabelList;
+ using LabelList = QList<QLabel *>;
const LabelList label_list = formWindow()->findChildren<QLabel*>();
if (label_list.empty())
@@ -620,7 +620,7 @@ PromoteToCustomWidgetCommand::PromoteToCustomWidgetCommand
{
}
-void PromoteToCustomWidgetCommand::init(const WidgetList &widgets,const QString &customClassName)
+void PromoteToCustomWidgetCommand::init(const WidgetPointerList &widgets,const QString &customClassName)
{
m_widgets = widgets;
m_customClassName = customClassName;